mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Remove damage_handled, and use a reconstructed_ancestor bit instead.
Reviewed-By: bholley Bug: 1368236 MozReview-Commit-ID: 8KK0YfhiS2
This commit is contained in:
parent
f9c268922d
commit
dc521b2799
4 changed files with 30 additions and 58 deletions
|
@ -697,8 +697,8 @@ trait PrivateMatchMethods: TElement {
|
|||
// for followup work to make the optimization here more optimal by considering
|
||||
// each bit individually.
|
||||
let skip_applying_damage =
|
||||
restyle.damage_handled.contains(RestyleDamage::reconstruct()) ||
|
||||
restyle.damage.contains(RestyleDamage::reconstruct());
|
||||
restyle.damage.contains(RestyleDamage::reconstruct()) ||
|
||||
restyle.reconstructed_ancestor;
|
||||
|
||||
let difference = self.compute_style_difference(&old_values,
|
||||
&new_values,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue