From f6043a23942816989c51798c069c11e8e8726882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 27 Jul 2016 10:35:34 -0700 Subject: [PATCH] layout: Remove now unused dirty_all_nodes function in layout thread. --- components/layout_thread/lib.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index dc1d7b179eb..0d7c9dce2bc 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -1474,16 +1474,6 @@ impl LayoutThread { } } - unsafe fn dirty_all_nodes(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);