mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Arc all Vec<CSSRule>s, put in CSSRules type
This commit is contained in:
parent
ef74d8da3b
commit
2220fcdc0b
3 changed files with 18 additions and 10 deletions
|
@ -380,7 +380,7 @@ impl Stylist {
|
|||
return true
|
||||
}
|
||||
}
|
||||
mq_eval_changed(rules, before, after)
|
||||
mq_eval_changed(&rules, before, after)
|
||||
}) {
|
||||
return true
|
||||
}
|
||||
|
@ -388,7 +388,7 @@ impl Stylist {
|
|||
false
|
||||
}
|
||||
self.is_device_dirty |= stylesheets.iter().any(|stylesheet| {
|
||||
mq_eval_changed(&stylesheet.rules, &self.device, &device)
|
||||
mq_eval_changed(&stylesheet.rules.0, &self.device, &device)
|
||||
});
|
||||
|
||||
self.device = device;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue