From f892008907157a0b67861d393416058fad4138e0 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 2 Oct 2016 02:34:15 +0200 Subject: [PATCH] Remove GlobalRef::history_traversal_task_source --- components/script/dom/bindings/global.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/script/dom/bindings/global.rs b/components/script/dom/bindings/global.rs index 3339a7331a7..0bc978f2088 100644 --- a/components/script/dom/bindings/global.rs +++ b/components/script/dom/bindings/global.rs @@ -189,15 +189,6 @@ impl<'a> GlobalRef<'a> { } } - /// `ScriptChan` used to send messages to the event loop of this global's - /// thread. - pub fn history_traversal_task_source(&self) -> Box { - match *self { - GlobalRef::Window(ref window) => window.history_traversal_task_source(), - GlobalRef::Worker(ref worker) => worker.script_chan(), - } - } - /// `ScriptChan` used to send messages to the event loop of this global's /// thread. pub fn file_reading_task_source(&self) -> FileReadingTaskSource {