mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Remove now unused dirty_all_nodes function in layout thread.
This commit is contained in:
parent
36376461f4
commit
f6043a2394
1 changed files with 0 additions and 10 deletions
|
@ -1474,16 +1474,6 @@ impl LayoutThread {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe fn dirty_all_nodes<N: LayoutNode>(node: N) {
|
||||
for node in node.traverse_preorder() {
|
||||
// TODO(cgaebel): mark nodes which are sensitive to media queries as
|
||||
// "changed":
|
||||
// > node.set_changed(true);
|
||||
node.set_dirty(true);
|
||||
node.set_dirty_descendants(true);
|
||||
}
|
||||
}
|
||||
|
||||
fn reflow_all_nodes(flow: &mut Flow) {
|
||||
debug!("reflowing all nodes!");
|
||||
flow::mut_base(flow).restyle_damage.insert(REPAINT | STORE_OVERFLOW | REFLOW);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue