mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Replace RwLock<CssRules> with Locked<CssRules>
This commit is contained in:
parent
b213daaa88
commit
f35b4e27b3
15 changed files with 85 additions and 52 deletions
|
@ -502,7 +502,7 @@ impl Stylist {
|
|||
return true
|
||||
}
|
||||
|
||||
mq_eval_changed(guard, &stylesheet.rules.read().0, &self.device, &device)
|
||||
mq_eval_changed(guard, &stylesheet.rules.read_with(guard).0, &self.device, &device)
|
||||
});
|
||||
|
||||
self.device = Arc::new(device);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue