mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Auto merge of #17802 - emilio:reland-stuff, r=heycam
Revert "Backed out changeset b10e6ba9cbdb because gecko part had to b…
…e backed out."
This reverts commit b96d96d448
.
The fix on the Gecko side is trivial, and I can land it after this lands.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17802)
<!-- Reviewable:end -->
This commit is contained in:
commit
a3c398b5da
6 changed files with 18 additions and 10 deletions
|
@ -161,7 +161,9 @@ pub fn recalc_style_for_animations(context: &LayoutContext,
|
|||
&mut fragment.style,
|
||||
&ServoMetricsProvider);
|
||||
let difference =
|
||||
RestyleDamage::compute_style_difference(&old_style, &fragment.style);
|
||||
RestyleDamage::compute_style_difference(&old_style,
|
||||
&old_style,
|
||||
&fragment.style);
|
||||
damage |= difference.damage;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue