Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused code around ScriptReflow. #8239

Merged
merged 3 commits into from Nov 3, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove unused Window::last_reflow_id.

  • Loading branch information
Ms2ger committed Oct 31, 2015
commit 02692d201fda67a1a50c9cb1f86e8a8e3e1674ee
@@ -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,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.