aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/devtools.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/devtools.rs')
-rw-r--r--components/script/devtools.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/devtools.rs b/components/script/devtools.rs
index d515d1fb99a..9da8093f287 100644
--- a/components/script/devtools.rs
+++ b/components/script/devtools.rs
@@ -20,6 +20,7 @@ use dom::bindings::reflector::Reflectable;
use dom::bindings::str::DOMString;
use dom::browsingcontext::BrowsingContext;
use dom::element::Element;
+use dom::globalscope::GlobalScope;
use dom::node::Node;
use dom::window::Window;
use ipc_channel::ipc::IpcSender;
@@ -245,7 +246,7 @@ pub fn handle_modify_attribute(context: &BrowsingContext,
}
}
-pub fn handle_wants_live_notifications(global: &GlobalRef, send_notifications: bool) {
+pub fn handle_wants_live_notifications(global: &GlobalScope, send_notifications: bool) {
global.set_devtools_wants_updates(send_notifications);
}