diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-09-27 14:39:44 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-06 20:59:10 +0200 |
commit | d7c2da450bb7a4e1b393c1260cd13ec658d408f0 (patch) | |
tree | 7a4395008bbc5e4df8b6ada7147da4888af767d4 /components/script/dom/window.rs | |
parent | 3e5c0c386c425e51067038228561e78d10c80a53 (diff) | |
download | servo-d7c2da450bb7a4e1b393c1260cd13ec658d408f0.tar.gz servo-d7c2da450bb7a4e1b393c1260cd13ec658d408f0.zip |
Introduce GlobalScope::live_devtools_updates
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 406371261d0..046246191a1 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -192,10 +192,6 @@ pub struct Window { #[ignore_heap_size_of = "channels are hard"] devtools_marker_sender: DOMRefCell<Option<IpcSender<TimelineMarker>>>, - /// A flag to indicate whether the developer tools have requested live updates of - /// page changes. - devtools_wants_updates: Cell<bool>, - /// Pending resize event, if any. resize_event: Cell<Option<(WindowSizeData, WindowSizeType)>>, @@ -1474,10 +1470,6 @@ impl Window { had_clip_rect } - pub fn set_devtools_wants_updates(&self, value: bool) { - self.devtools_wants_updates.set(value); - } - // https://html.spec.whatwg.org/multipage/#accessing-other-browsing-contexts pub fn IndexedGetter(&self, _index: u32, _found: &mut bool) -> Option<Root<Window>> { None @@ -1664,7 +1656,6 @@ impl Window { devtools_marker_sender: DOMRefCell::new(None), devtools_markers: DOMRefCell::new(HashSet::new()), - devtools_wants_updates: Cell::new(false), webdriver_script_chan: DOMRefCell::new(None), ignore_further_async_events: Arc::new(AtomicBool::new(false)), error_reporter: error_reporter, @@ -1680,10 +1671,6 @@ impl Window { &self.console_timers } - pub fn live_devtools_updates(&self) -> bool { - return self.devtools_wants_updates.get(); - } - /// https://html.spec.whatwg.org/multipage/#report-the-error pub fn report_an_error(&self, error_info: ErrorInfo, value: HandleValue) { // Step 1. |