diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-10-17 19:51:24 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-10-17 19:51:24 -0600 |
commit | 3906cecd16b62445581e5af930680dd3f5ff66eb (patch) | |
tree | e0f6ef46778f9bc8e3a6207f619eb5218119a9e2 /components/layout/layout_task.rs | |
parent | b86344b697f814b982e52f4a72c26d58c915c37b (diff) | |
parent | e7c79906bd0d49a01b4dcd328d0b7161b1829cc2 (diff) | |
download | servo-3906cecd16b62445581e5af930680dd3f5ff66eb.tar.gz servo-3906cecd16b62445581e5af930680dd3f5ff66eb.zip |
auto merge of #3719 : mrobinson/servo/flow-dump, r=pcwalton
The flow tree is currently dumped for debugging purposes early on in
the flow process, so many values are still zero. If we wait to dump it
until later, the output will more accurately reflect the real flow tree.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 60b2a53938a..48df4f9c460 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -655,9 +655,6 @@ impl LayoutTask { if self.opts.trace_layout { layout_debug::begin_trace(layout_root.clone()); } - if self.opts.dump_flow_tree { - layout_root.dump(); - } // Perform the primary layout passes over the flow tree to compute the locations of all // the boxes. @@ -779,6 +776,10 @@ impl LayoutTask { layout_debug::end_trace(); } + if self.opts.dump_flow_tree { + layout_root.dump(); + } + rw_data.generation += 1; // Tell script that we're done. |