mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Pass the constellation_chan to animation::update_animation_state directly.
This commit is contained in:
parent
c469d09543
commit
4c3038f378
2 changed files with 6 additions and 8 deletions
|
@ -1332,7 +1332,7 @@ impl LayoutTask {
|
|||
layout_context: &mut SharedLayoutContext) {
|
||||
if let Some(mut root_flow) = self.root_flow.clone() {
|
||||
// Kick off animations if any were triggered, expire completed ones.
|
||||
animation::update_animation_state(&mut *rw_data,
|
||||
animation::update_animation_state(&self.constellation_chan,
|
||||
&mut self.running_animations,
|
||||
&self.new_animations_receiver,
|
||||
self.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue