Un-boxed ScriptReflow

This commit is contained in:
Olivia Nordquist 2015-10-31 22:29:16 -07:00
parent d8cb2762af
commit aebf87cf5b
3 changed files with 3 additions and 3 deletions

View file

@ -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 => {

View file

@ -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(),

View file

@ -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>>),