aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2015-11-20 17:14:16 -0800
committerMartin Robinson <mrobinson@igalia.com>2015-11-23 15:17:32 -0800
commit8dd664a438a0cdd6af83b5f8c548a35f7e515233 (patch)
treeeb786aaa0b05d031130cb77ef05a496d872eae66 /components/layout/layout_task.rs
parent711f516d80c9c0026744cd373d398dc294f14d2a (diff)
downloadservo-8dd664a438a0cdd6af83b5f8c548a35f7e515233.tar.gz
servo-8dd664a438a0cdd6af83b5f8c548a35f7e515233.zip
Improve readability of flow tree dump
Use the PrintTree utility to improve the readability of flow tree dumps. Blocks and fragments are now split over two dump levels, because otherwise they are impenetrable. Also start printing the restyle damage of fragments.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index d9bbc2b78cc..b8903a6363b 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -1251,7 +1251,7 @@ impl LayoutTask {
}
if opts::get().dump_flow_tree {
- root_flow.dump();
+ root_flow.print("Post layout flow tree".to_owned());
}
self.generation += 1;