diff --git a/src/components/main/compositing/quadtree.rs b/src/components/main/compositing/quadtree.rs index 2d393fbc008..e8f412106d7 100644 --- a/src/components/main/compositing/quadtree.rs +++ b/src/components/main/compositing/quadtree.rs @@ -14,6 +14,8 @@ use std::util::replace; use gfx::render_task::BufferRequest; use servo_msg::compositor_msg::Tile; +static HEADER: &'static str = ""; + /// Parent to all quadtree nodes. Stores variables needed at all levels. All method calls /// at this level are in pixel coordinates. pub struct Quadtree { @@ -298,7 +300,6 @@ impl Quadtree { /// Generate html to visualize the tree. For debugging purposes only. pub fn get_html(&self) -> ~str { - static HEADER: &'static str = ""; fmt!("%s%s", HEADER, self.root.get_html()) }