diff options
-rw-r--r-- | components/layout/layout_task.rs | 2 | ||||
-rw-r--r-- | components/script/dom/window.rs | 2 | ||||
-rw-r--r-- | components/script/layout_interface.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 5f9c732d87c..878597f24f7 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -593,7 +593,7 @@ impl LayoutTask { profile(time::ProfilerCategory::LayoutPerform, self.profiler_metadata(), self.time_profiler_chan.clone(), - || self.handle_reflow(&*data, possibly_locked_rw_data)); + || self.handle_reflow(&data, possibly_locked_rw_data)); }, Msg::TickAnimations => self.tick_all_animations(possibly_locked_rw_data), Msg::ReflowWithNewlyLoadedWebFont => { 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>>), |