diff options
author | Olivia Nordquist <nolivia@umich.edu> | 2015-10-31 22:29:16 -0700 |
---|---|---|
committer | Olivia Nordquist <nolivia@umich.edu> | 2015-10-31 22:29:16 -0700 |
commit | aebf87cf5bab8c25bb4793c13dea048de8087512 (patch) | |
tree | c48fde726fb19c48b55e1badf0ec8aafaaa4f38e /components | |
parent | d8cb2762af389309ff9684f04194e4773ce33c3e (diff) | |
download | servo-aebf87cf5bab8c25bb4793c13dea048de8087512.tar.gz servo-aebf87cf5bab8c25bb4793c13dea048de8087512.zip |
Un-boxed ScriptReflow
Diffstat (limited to 'components')
-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>>), |