mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Move Arc<RwLock<_>> out from CssRules tuple
This commit is contained in:
parent
40917e7991
commit
599eb1c9f0
9 changed files with 58 additions and 62 deletions
|
@ -389,7 +389,7 @@ impl Stylist {
|
|||
false
|
||||
}
|
||||
self.is_device_dirty |= stylesheets.iter().any(|stylesheet| {
|
||||
mq_eval_changed(&stylesheet.rules.0.read(), &self.device, &device)
|
||||
mq_eval_changed(&stylesheet.rules.read().0, &self.device, &device)
|
||||
});
|
||||
|
||||
self.device = device;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue