diff options
Diffstat (limited to 'components/script/dom/bindings/global.rs')
-rw-r--r-- | components/script/dom/bindings/global.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/bindings/global.rs b/components/script/dom/bindings/global.rs index eac887b8a2f..ecca46a5a5e 100644 --- a/components/script/dom/bindings/global.rs +++ b/components/script/dom/bindings/global.rs @@ -22,7 +22,6 @@ use js::jsapi::{JSAutoCompartment, JSContext, JSObject}; use js::jsapi::{JS_GetClass, MutableHandleValue}; use js::rust::CompileOptionsWrapper; use libc; -use net_traits::{CoreResourceThread, IpcSend}; use profile_traits::time; use script_runtime::{CommonScriptMsg, EnqueuedPromiseCallback, ScriptChan}; use script_runtime::{ScriptPort, maybe_take_panic_result}; @@ -68,11 +67,6 @@ impl<'a> GlobalRef<'a> { } } - /// Get the `CoreResourceThread` for this global scope - pub fn core_resource_thread(&self) -> CoreResourceThread { - self.as_global_scope().resource_threads().sender() - } - /// `ScriptChan` used to send messages to the event loop of this global's /// thread. pub fn script_chan(&self) -> Box<ScriptChan + Send> { |