mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Implement flow tree dumping with RUST_LOG=debug is on.
r? @pcwalton
This commit is contained in:
parent
9e94ecf99c
commit
a8f80b89f4
5 changed files with 29 additions and 10 deletions
|
@ -266,7 +266,7 @@ impl PreorderFlow for FlowTreeVerification {
|
|||
fn process(&mut self, flow: &mut Flow) {
|
||||
let base = flow::base(flow);
|
||||
if !base.flags.is_leaf() && !base.flags.is_nonleaf() {
|
||||
println("flow tree verification failed: flow wasn't a leaf or a nonleaf!");
|
||||
println!("flow tree verification failed: flow wasn't a leaf or a nonleaf!");
|
||||
flow.dump();
|
||||
fail!("flow tree verification failed")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue