Pass the constellation_chan to animation::update_animation_state directly.

This commit is contained in:
Ms2ger 2015-11-06 17:56:02 +01:00
parent c469d09543
commit 4c3038f378
2 changed files with 6 additions and 8 deletions

View file

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