aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/global.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-10-03 23:16:55 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-10-06 21:35:48 +0200
commit71236e168ac9c1e85c370be09a5566ec299b7bb6 (patch)
tree2105d86c53b547c05fcec4706533848c6e038ab0 /components/script/dom/bindings/global.rs
parentde846f25a65cf080ed8fc3bd201627872bd83f15 (diff)
downloadservo-71236e168ac9c1e85c370be09a5566ec299b7bb6.tar.gz
servo-71236e168ac9c1e85c370be09a5566ec299b7bb6.zip
Introduce GlobalScope::core_resource_thread
Diffstat (limited to 'components/script/dom/bindings/global.rs')
-rw-r--r--components/script/dom/bindings/global.rs6
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> {