diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-02-20 20:12:55 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-02-20 20:12:55 -0700 |
commit | 2eb71bda83c175ec4af9aca4e22b74ef7fea9097 (patch) | |
tree | 9bb42f4f177183c2929d28e28492589b620895a2 /components/layout/flow.rs | |
parent | 95cc1705cb2d795071ee454132a3d7d691f385ae (diff) | |
parent | 8a1e81a9aed910af09b220d423b147e4379fb4d8 (diff) | |
download | servo-2eb71bda83c175ec4af9aca4e22b74ef7fea9097.tar.gz servo-2eb71bda83c175ec4af9aca4e22b74ef7fea9097.zip |
auto merge of #4995 : Adenilson/servo/printFlowTree01, r=jdm
Actually print the contents of Flow Tree into console.
When executing servo with proper flags (i.e. --debug dump-flow-tree), it should print the flow tree. We had the code, but it was commented.
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r-- | components/layout/flow.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs index a4f66437626..c8339b52762 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -1133,8 +1133,7 @@ impl<'a> ImmutableFlowUtils for &'a (Flow + 'a) { indent.push_str("| ") } - // TODO: ICE, already fixed in rustc. - //println!("{}+ {:?}", indent, self); + println!("{}+ {:?}", indent, self); for kid in imm_child_iter(self) { kid.dump_with_level(level + 1) |