mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
style: Derive debug for CascadeInputs.
It no longer has anything than rules.
This commit is contained in:
parent
5ac12b5df4
commit
104f5c2553
4 changed files with 24 additions and 24 deletions
|
@ -1491,8 +1491,11 @@ impl LayoutThread {
|
|||
self.profiler_metadata(),
|
||||
self.time_profiler_chan.clone(),
|
||||
|| {
|
||||
animation::recalc_style_for_animations(
|
||||
&layout_context, FlowRef::deref_mut(&mut root_flow), &animations)
|
||||
animation::recalc_style_for_animations::<ServoLayoutElement>(
|
||||
&layout_context,
|
||||
FlowRef::deref_mut(&mut root_flow),
|
||||
&animations,
|
||||
)
|
||||
});
|
||||
}
|
||||
self.perform_post_style_recalc_layout_passes(&mut root_flow,
|
||||
|
@ -1522,14 +1525,16 @@ impl LayoutThread {
|
|||
.as_mut()
|
||||
.map(|nodes| &mut **nodes);
|
||||
// Kick off animations if any were triggered, expire completed ones.
|
||||
animation::update_animation_state(&self.constellation_chan,
|
||||
&self.script_chan,
|
||||
&mut *self.running_animations.write(),
|
||||
&mut *self.expired_animations.write(),
|
||||
newly_transitioning_nodes,
|
||||
&self.new_animations_receiver,
|
||||
self.id,
|
||||
&self.timer);
|
||||
animation::update_animation_state::<ServoLayoutElement>(
|
||||
&self.constellation_chan,
|
||||
&self.script_chan,
|
||||
&mut *self.running_animations.write(),
|
||||
&mut *self.expired_animations.write(),
|
||||
newly_transitioning_nodes,
|
||||
&self.new_animations_receiver,
|
||||
self.id,
|
||||
&self.timer,
|
||||
);
|
||||
}
|
||||
|
||||
profile(time::ProfilerCategory::LayoutRestyleDamagePropagation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue