diff --git a/components/script/dom/bindings/global.rs b/components/script/dom/bindings/global.rs index 9b4125bdc6a..3339a7331a7 100644 --- a/components/script/dom/bindings/global.rs +++ b/components/script/dom/bindings/global.rs @@ -28,7 +28,6 @@ use profile_traits::{mem, time}; use script_runtime::{CommonScriptMsg, ScriptChan, ScriptPort, EnqueuedPromiseCallback}; use script_thread::{MainThreadScriptChan, RunnableWrapper, ScriptThread}; use script_traits::{MsDuration, ScriptMsg as ConstellationMsg, TimerEventRequest}; -use task_source::dom_manipulation::DOMManipulationTaskSource; use task_source::file_reading::FileReadingTaskSource; use timers::{OneshotTimerCallback, OneshotTimerHandle}; use url::Url; @@ -181,15 +180,6 @@ impl<'a> GlobalRef<'a> { } } - /// `TaskSource` used to queue DOM manipulation messages to the event loop of this global's - /// thread. - pub fn dom_manipulation_task_source(&self) -> DOMManipulationTaskSource { - match *self { - GlobalRef::Window(ref window) => window.dom_manipulation_task_source(), - GlobalRef::Worker(_) => unimplemented!(), - } - } - /// `ScriptChan` used to send messages to the event loop of this global's /// thread. pub fn networking_task_source(&self) -> Box {