From f97d47188f5a2a19f34c3015c40a79d87dfb3e74 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 29 Nov 2016 17:41:46 -0800 Subject: [PATCH] layout_thread: Note in the debug message whether nodes require dirtying. --- components/layout_thread/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 72f1327620e..961abb7416b 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -1091,7 +1091,7 @@ impl LayoutThread { } let restyles = document.drain_pending_restyles(); - debug!("Draining restyles: {}", restyles.len()); + debug!("Draining restyles: {} (needs dirtying? {:?})", restyles.len(), needs_dirtying); if !needs_dirtying { for (el, restyle) in restyles { // Propagate the descendant bit up the ancestors. Do this before