mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Un-boxed ScriptReflow
This commit is contained in:
parent
d8cb2762af
commit
aebf87cf5b
3 changed files with 3 additions and 3 deletions
|
@ -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 => {
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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>>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue