diff --git a/src/components/main/layout/flow.rs b/src/components/main/layout/flow.rs index d0da205275a..765bd47114b 100644 --- a/src/components/main/layout/flow.rs +++ b/src/components/main/layout/flow.rs @@ -414,7 +414,7 @@ impl<'self> FlowContext { } s.push_str(self.debug_str()); - debug!("%s", s); + println(s); // FIXME: this should have a pure/const version? for self.each_child |child| { diff --git a/src/components/main/layout/layout_task.rs b/src/components/main/layout/layout_task.rs index 595b37dd879..1943191c89a 100644 --- a/src/components/main/layout/layout_task.rs +++ b/src/components/main/layout/layout_task.rs @@ -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()) {