Remove slow debug code from box.rs.

This commit is contained in:
Patrick Walton 2013-06-21 11:59:22 -07:00
parent 8f32094d73
commit 0371ea78e3

View file

@ -715,7 +715,6 @@ pub impl RenderBox {
let my_style = self.nearest_ancestor_element().style();
debug!("(font style) start: %?", self.nearest_ancestor_element().type_id());
self.dump();
// FIXME: Too much allocation here.
let font_families = do my_style.font_family().map |family| {