mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Introduce GlobalScope::live_devtools_updates
This commit is contained in:
parent
3e5c0c386c
commit
d7c2da450b
8 changed files with 20 additions and 37 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue