mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove unused Window::last_reflow_id.
This commit is contained in:
parent
40b3b749bf
commit
02692d201f
1 changed files with 0 additions and 7 deletions
|
@ -163,9 +163,6 @@ pub struct Window {
|
||||||
/// Subpage id associated with this page, if any.
|
/// Subpage id associated with this page, if any.
|
||||||
parent_info: Option<(PipelineId, SubpageId)>,
|
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.
|
/// Global static data related to the DOM.
|
||||||
dom_static: GlobalStaticData,
|
dom_static: GlobalStaticData,
|
||||||
|
|
||||||
|
@ -901,9 +898,6 @@ impl Window {
|
||||||
// Layout will let us know when it's done.
|
// Layout will let us know when it's done.
|
||||||
let (join_chan, join_port) = channel();
|
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.
|
// On debug mode, print the reflow event information.
|
||||||
if opts::get().relayout_event {
|
if opts::get().relayout_event {
|
||||||
debug_reflow_events(&goal, &query_type, &reason);
|
debug_reflow_events(&goal, &query_type, &reason);
|
||||||
|
@ -1264,7 +1258,6 @@ impl Window {
|
||||||
constellation_chan: constellation_chan,
|
constellation_chan: constellation_chan,
|
||||||
page_clip_rect: Cell::new(MAX_RECT),
|
page_clip_rect: Cell::new(MAX_RECT),
|
||||||
fragment_name: DOMRefCell::new(None),
|
fragment_name: DOMRefCell::new(None),
|
||||||
last_reflow_id: Cell::new(0),
|
|
||||||
resize_event: Cell::new(None),
|
resize_event: Cell::new(None),
|
||||||
next_subpage_id: Cell::new(SubpageId(0)),
|
next_subpage_id: Cell::new(SubpageId(0)),
|
||||||
layout_chan: layout_chan,
|
layout_chan: layout_chan,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue