layout_thread: Note in the debug message whether nodes require dirtying.

This commit is contained in:
Patrick Walton 2016-11-29 17:41:46 -08:00
parent 52e2b025d2
commit f97d47188f

View file

@ -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