Arc all Vec<CSSRule>s, put in CSSRules type

This commit is contained in:
Manish Goregaokar 2016-11-11 23:56:53 -08:00
parent ef74d8da3b
commit 2220fcdc0b
3 changed files with 18 additions and 10 deletions

View file

@ -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;