mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
debug: Send flow tree dump to stderr for consistency
This commit is contained in:
parent
fe91f6e238
commit
c4adbd47f2
1 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@ use layout::float_context::{FloatContext, Invalid, FloatType};
|
||||||
|
|
||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
use std::uint;
|
use std::uint;
|
||||||
|
use std::io::stderr;
|
||||||
use geom::point::Point2D;
|
use geom::point::Point2D;
|
||||||
use geom::rect::Rect;
|
use geom::rect::Rect;
|
||||||
use gfx::display_list::DisplayList;
|
use gfx::display_list::DisplayList;
|
||||||
|
@ -414,7 +415,7 @@ impl<'self> FlowContext {
|
||||||
}
|
}
|
||||||
|
|
||||||
s.push_str(self.debug_str());
|
s.push_str(self.debug_str());
|
||||||
println(s);
|
stderr().write_line(s);
|
||||||
|
|
||||||
// FIXME: this should have a pure/const version?
|
// FIXME: this should have a pure/const version?
|
||||||
for self.each_child |child| {
|
for self.each_child |child| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue