mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Fix flow tree debug printing.
Nested `debug!()` calls are no-ops, so change it now does a `println`. Also moved to the `debug!()` calls out of the profiled block.
This commit is contained in:
parent
ddbe1c9c41
commit
94d83f96f1
2 changed files with 4 additions and 4 deletions
|
@ -210,12 +210,12 @@ impl LayoutTask {
|
|||
Err(*) => fail!(~"Root flow should always exist")
|
||||
};
|
||||
|
||||
debug!("layout: constructed Flow tree");
|
||||
debug!("%?", layout_root.dump());
|
||||
|
||||
layout_root
|
||||
};
|
||||
|
||||
debug!("layout: constructed Flow tree");
|
||||
debug!("", layout_root.dump());
|
||||
|
||||
// Perform the primary layout passes over the flow tree to compute the locations of all
|
||||
// the boxes.
|
||||
do profile(time::LayoutMainCategory, self.profiler_chan.clone()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue