aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2013-12-10 13:18:00 -0800
committerKeegan McAllister <kmcallister@mozilla.com>2013-12-12 14:43:24 -0800
commitdd0bb0892702f952bf7628c63c1320031828fb46 (patch)
treeca12f9f6a2258630b376d514f49ad27a6fd024bc /src
parentc3c87e3d44d8e57ee0035ead33b575372fafc33f (diff)
downloadservo-dd0bb0892702f952bf7628c63c1320031828fb46.tar.gz
servo-dd0bb0892702f952bf7628c63c1320031828fb46.zip
Print restyle damage for debugging
Diffstat (limited to 'src')
-rw-r--r--src/components/main/layout/layout_task.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/main/layout/layout_task.rs b/src/components/main/layout/layout_task.rs
index 0909cbf74df..be46d173d0e 100644
--- a/src/components/main/layout/layout_task.rs
+++ b/src/components/main/layout/layout_task.rs
@@ -120,6 +120,7 @@ impl PreorderFlowTraversal for PropagateDamageTraversal {
if self.all_style_damage {
flow::mut_base(flow).restyle_damage.union_in_place(RestyleDamage::all())
}
+ debug!("restyle damage = {:?}", flow::base(flow).restyle_damage);
let prop = flow::base(flow).restyle_damage.propagate_down();
if prop.is_nonempty() {