diff options
author | Ms2ger <Ms2ger@gmail.com> | 2015-10-28 12:03:48 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2015-10-31 12:40:18 +0100 |
commit | 7fc93c0770cb55cf31cbadc3daff385f60fbbd7f (patch) | |
tree | 170b45defd6ef85357ac6600116d1a7c2eeda9b6 /components/script/dom/window.rs | |
parent | 02692d201fda67a1a50c9cb1f86e8a8e3e1674ee (diff) | |
download | servo-7fc93c0770cb55cf31cbadc3daff385f60fbbd7f.tar.gz servo-7fc93c0770cb55cf31cbadc3daff385f60fbbd7f.zip |
Remove unused Window::control_chan.
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 279cd5cf800..ad75e2ce5b7 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -54,7 +54,7 @@ use profile_traits::mem; use rustc_serialize::base64::{FromBase64, STANDARD, ToBase64}; use script_task::{ScriptChan, ScriptPort, MainThreadScriptMsg}; use script_task::{SendableMainThreadScriptChan, MainThreadScriptChan, MainThreadTimerEventChan}; -use script_traits::{ConstellationControlMsg, TimerEventChan, TimerEventId, TimerEventRequest, TimerSource}; +use script_traits::{TimerEventChan, TimerEventId, TimerEventRequest, TimerSource}; use selectors::parser::PseudoElement; use std::ascii::AsciiExt; use std::borrow::ToOwned; @@ -109,8 +109,6 @@ pub struct Window { eventtarget: EventTarget, #[ignore_heap_size_of = "trait objects are hard"] script_chan: MainThreadScriptChan, - #[ignore_heap_size_of = "channels are hard"] - control_chan: Sender<ConstellationControlMsg>, console: MutNullableHeap<JS<Console>>, crypto: MutNullableHeap<JS<Crypto>>, navigator: MutNullableHeap<JS<Navigator>>, @@ -1204,7 +1202,6 @@ impl Window { page: Rc<Page>, script_chan: MainThreadScriptChan, image_cache_chan: ImageCacheChan, - control_chan: Sender<ConstellationControlMsg>, compositor: IpcSender<ScriptToCompositorMsg>, image_cache_task: ImageCacheTask, resource_task: Arc<ResourceTask>, @@ -1230,7 +1227,6 @@ impl Window { eventtarget: EventTarget::new_inherited(), script_chan: script_chan, image_cache_chan: image_cache_chan, - control_chan: control_chan, console: Default::default(), crypto: Default::default(), compositor: compositor, |