diff options
Diffstat (limited to 'components/layout/animation.rs')
-rw-r--r-- | components/layout/animation.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/layout/animation.rs b/components/layout/animation.rs index ebbba82fcc6..19f621f7fdc 100644 --- a/components/layout/animation.rs +++ b/components/layout/animation.rs @@ -161,9 +161,10 @@ pub fn recalc_style_for_animations(context: &LayoutContext, &mut fragment.style, &ServoMetricsProvider); let difference = - RestyleDamage::compute_style_difference(&old_style, - &old_style, - &fragment.style); + RestyleDamage::compute_style_difference( + &old_style, + &fragment.style, + ); damage |= difference.damage; } } |