From 3d719aafa67a5ab9655bd60a9933bc5d752520a1 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 2 Oct 2016 00:49:46 +0200 Subject: [PATCH] Remove GlobalRef::dom_manipulation_task_source --- components/script/dom/bindings/global.rs | 10 ---------- 1 file changed, 10 deletions(-) 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 {