mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
commit
2eb71bda83
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue