diff options
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/dom/window.rs | 2 | ||||
-rw-r--r-- | components/script/layout_interface.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index abe693696fd..c074935938b 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -910,7 +910,7 @@ impl Window { } // Send new document and relevant styles to layout. - let reflow = box ScriptReflow { + let reflow = ScriptReflow { reflow_info: Reflow { goal: goal, page_clip_rect: self.page_clip_rect.get(), diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index 5c41a04363c..acb69a02321 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -47,7 +47,7 @@ pub enum Msg { SetQuirksMode, /// Requests a reflow. - Reflow(Box<ScriptReflow>), + Reflow(ScriptReflow), /// Get an RPC interface. GetRPC(Sender<Box<LayoutRPC + Send>>), |