From 8a1e81a9aed910af09b220d423b147e4379fb4d8 Mon Sep 17 00:00:00 2001 From: Adenilson Cavalcanti Date: Fri, 20 Feb 2015 16:52:18 -0800 Subject: [PATCH] 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. --- components/layout/flow.rs | 3 +-- 1 file changed, 1 insertion(+), 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)