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.
This commit is contained in:
bors-servo 2015-02-20 20:12:55 -07:00
commit 2eb71bda83

View file

@ -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)