mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Move the ancestor hashes out of Selector.
MozReview-Commit-ID: 5mipXnjgSED
This commit is contained in:
parent
e3d3c5a7b2
commit
713c9a63f6
8 changed files with 153 additions and 79 deletions
|
@ -262,8 +262,8 @@ impl StylesheetInvalidationSet {
|
|||
match *rule {
|
||||
Style(ref lock) => {
|
||||
let style_rule = lock.read_with(guard);
|
||||
for selector in &style_rule.selectors.0 {
|
||||
self.collect_scopes(selector);
|
||||
for selector_and_hashes in &style_rule.selectors.0 {
|
||||
self.collect_scopes(&selector_and_hashes.selector);
|
||||
if self.fully_invalid {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue