aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-09-13 03:08:53 -0400
committerGitHub <noreply@github.com>2018-09-13 03:08:53 -0400
commited86bc7ec6c22ee4b2f70e9bbd48824a389567b9 (patch)
treef330f3b10d1f0a62fea2fa04892552658afd3a70 /components/servo/lib.rs
parent60b926ade443ad65ff538a57e2f40727c68b4cfb (diff)
parentec6cc5629932c6a4969d088df230999b044ca4f0 (diff)
downloadservo-ed86bc7ec6c22ee4b2f70e9bbd48824a389567b9.tar.gz
servo-ed86bc7ec6c22ee4b2f70e9bbd48824a389567b9.zip
Auto merge of #21688 - paulrouget:rm-clipboard, r=jdm
Let the clipboard crate handle the lack of clipboard support --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21688) <!-- Reviewable:end -->
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r--components/servo/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index dba8ce702df..9bd7623df47 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -151,7 +151,6 @@ where
create_compositor_channel(window.create_event_loop_waker());
let (embedder_proxy, embedder_receiver) =
create_embedder_channel(window.create_event_loop_waker());
- let supports_clipboard = window.supports_clipboard();
let time_profiler_chan = profile_time::Profiler::create(
&opts.time_profiling,
opts.time_profiler_trace_path.clone(),
@@ -221,7 +220,6 @@ where
mem_profiler_chan.clone(),
debugger_chan,
devtools_chan,
- supports_clipboard,
&mut webrender,
webrender_document,
webrender_api_sender,
@@ -493,7 +491,6 @@ fn create_constellation(
mem_profiler_chan: mem::ProfilerChan,
debugger_chan: Option<debugger::Sender>,
devtools_chan: Option<Sender<devtools_traits::DevtoolsControlMsg>>,
- supports_clipboard: bool,
webrender: &mut webrender::Renderer,
webrender_document: webrender_api::DocumentId,
webrender_api_sender: webrender_api::RenderApiSender,
@@ -569,7 +566,6 @@ fn create_constellation(
private_resource_threads,
time_profiler_chan,
mem_profiler_chan,
- supports_clipboard,
webrender_document,
webrender_api_sender,
webgl_threads,