diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-01 14:50:17 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-01 14:50:17 +0530 |
commit | 601169c0e5b0207805bb316b21e556f5ab67df9b (patch) | |
tree | c3772d45214d4e14b4992a3d34accce24e00bfbd /components/layout | |
parent | 959ae86bd0435bf67626d3203a220c0e9f2eea40 (diff) | |
parent | aebf87cf5bab8c25bb4793c13dea048de8087512 (diff) | |
download | servo-601169c0e5b0207805bb316b21e556f5ab67df9b.tar.gz servo-601169c0e5b0207805bb316b21e556f5ab67df9b.zip |
Auto merge of #8290 - itsmeolivia:store-script-reflow, r=Ms2ger
Un-boxed ScriptReflow
As per #8238 I changed `layout_interface::Msg::Reflow` to store `ScriptReflow` rather than `Box<ScriptReflow>`
I ran the tests and believe everything passed but this is my first commit to the project so sorry if I messed up the protocol!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8290)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout')
-rw-r--r-- | components/layout/layout_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 273d56bca80..06c56110386 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 => { |