aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
authorAdenilson Cavalcanti <cavalcantii@gmail.com>2015-02-20 16:52:18 -0800
committerAdenilson Cavalcanti <cavalcantii@gmail.com>2015-02-20 16:52:18 -0800
commit8a1e81a9aed910af09b220d423b147e4379fb4d8 (patch)
tree73b796e2a339c745ba3475b5c84bb3815065dbed /components/layout/flow.rs
parente39e75865bdcef639b47a6a448a84cf2ca4894cf (diff)
downloadservo-8a1e81a9aed910af09b220d423b147e4379fb4d8.tar.gz
servo-8a1e81a9aed910af09b220d423b147e4379fb4d8.zip
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.rs3
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)