aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/window.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-10-28 11:57:05 +0100
committerMs2ger <Ms2ger@gmail.com>2015-10-31 12:40:17 +0100
commit02692d201fda67a1a50c9cb1f86e8a8e3e1674ee (patch)
treeaa7a83de7388b612ea54fc3bd6dceb501391f4e6 /components/script/dom/window.rs
parent40b3b749bf6bd41f6e43bcf7a4588dbbbc479c74 (diff)
downloadservo-02692d201fda67a1a50c9cb1f86e8a8e3e1674ee.tar.gz
servo-02692d201fda67a1a50c9cb1f86e8a8e3e1674ee.zip
Remove unused Window::last_reflow_id.
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r--components/script/dom/window.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index e86668c9ae2..279cd5cf800 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -163,9 +163,6 @@ pub struct Window {
/// Subpage id associated with this page, if any.
parent_info: Option<(PipelineId, SubpageId)>,
- /// Unique id for last reflow request; used for confirming completion reply.
- last_reflow_id: Cell<u32>,
-
/// Global static data related to the DOM.
dom_static: GlobalStaticData,
@@ -901,9 +898,6 @@ impl Window {
// Layout will let us know when it's done.
let (join_chan, join_port) = channel();
- let last_reflow_id = &self.last_reflow_id;
- last_reflow_id.set(last_reflow_id.get() + 1);
-
// On debug mode, print the reflow event information.
if opts::get().relayout_event {
debug_reflow_events(&goal, &query_type, &reason);
@@ -1264,7 +1258,6 @@ impl Window {
constellation_chan: constellation_chan,
page_clip_rect: Cell::new(MAX_RECT),
fragment_name: DOMRefCell::new(None),
- last_reflow_id: Cell::new(0),
resize_event: Cell::new(None),
next_subpage_id: Cell::new(SubpageId(0)),
layout_chan: layout_chan,