aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/global.rs
diff options
context:
space:
mode:
authorKeith Yeung <kungfukeith11@gmail.com>2016-03-12 17:58:52 -0500
committerKeith Yeung <kungfukeith11@gmail.com>2016-05-11 10:12:25 -0400
commitcc049515dc77d8975351d04074310874c486c512 (patch)
tree2bdd5b068f9f964484cf0edd2dd9de5a2b656069 /components/script/dom/bindings/global.rs
parent12a96f71945dbd27336469f69f8e679a2b54b40b (diff)
downloadservo-cc049515dc77d8975351d04074310874c486c512.tar.gz
servo-cc049515dc77d8975351d04074310874c486c512.zip
Implement user interaction task source
Diffstat (limited to 'components/script/dom/bindings/global.rs')
-rw-r--r--components/script/dom/bindings/global.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/components/script/dom/bindings/global.rs b/components/script/dom/bindings/global.rs
index 17a2688a910..7dea10fd0a0 100644
--- a/components/script/dom/bindings/global.rs
+++ b/components/script/dom/bindings/global.rs
@@ -175,15 +175,6 @@ impl<'a> GlobalRef<'a> {
/// `ScriptChan` used to send messages to the event loop of this global's
/// thread.
- pub fn user_interaction_task_source(&self) -> Box<ScriptChan + Send> {
- match *self {
- GlobalRef::Window(ref window) => window.user_interaction_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 networking_task_source(&self) -> Box<ScriptChan + Send> {
match *self {
GlobalRef::Window(ref window) => window.networking_task_source(),