diff options
author | Martin Robinson <mrobinson@igalia.com> | 2015-11-20 17:14:16 -0800 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2015-11-23 15:17:32 -0800 |
commit | 8dd664a438a0cdd6af83b5f8c548a35f7e515233 (patch) | |
tree | eb786aaa0b05d031130cb77ef05a496d872eae66 /components/layout/layout_task.rs | |
parent | 711f516d80c9c0026744cd373d398dc294f14d2a (diff) | |
download | servo-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.rs | 2 |
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; |