layout: Dump damage as well as part of the flow tree debug spew.

This commit is contained in:
Patrick Walton 2015-11-02 14:02:31 -08:00
parent 3ae5f04bd1
commit 34611f126d

View file

@ -940,11 +940,12 @@ pub struct BaseFlow {
impl fmt::Debug for BaseFlow { impl fmt::Debug for BaseFlow {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, write!(f,
"@ {:?}, CC {}, ADC {}, Ovr {:?}", "@ {:?}, CC {}, ADC {}, Ovr {:?}, Dmg {:?}",
self.position, self.position,
self.parallel.children_count.load(Ordering::SeqCst), self.parallel.children_count.load(Ordering::SeqCst),
self.abs_descendants.len(), self.abs_descendants.len(),
self.overflow) self.overflow,
self.restyle_damage)
} }
} }