mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Avoid being so Arc-happy in the custom properties code.
This commit is contained in:
parent
65d9b345bb
commit
2adfd84636
7 changed files with 88 additions and 79 deletions
|
@ -281,7 +281,7 @@ fn compute_damage(old: &ComputedValues, new: &ComputedValues) -> ServoRestyleDam
|
|||
|
||||
// Paint worklets may depend on custom properties,
|
||||
// so if they have changed we should repaint.
|
||||
if old.get_custom_properties() != new.get_custom_properties() {
|
||||
if old.custom_properties() != new.custom_properties() {
|
||||
damage.insert(REPAINT);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue