diff options
Diffstat (limited to 'components/layout/animation.rs')
-rw-r--r-- | components/layout/animation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/animation.rs b/components/layout/animation.rs index 5222d4ba70a..71a388dcf0c 100644 --- a/components/layout/animation.rs +++ b/components/layout/animation.rs @@ -135,7 +135,7 @@ pub fn recalc_style_for_animations(context: &SharedLayoutContext, update_style_for_animation(&context.style_context, animation, &mut fragment.style); - damage |= RestyleDamage::compute(Some(&old_style), &fragment.style); + damage |= RestyleDamage::compute(&old_style, &fragment.style); } } }); |