diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2017-06-10 13:54:13 -0700 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2017-06-12 12:13:16 -0700 |
commit | 0caad2ffdc0879c12474a500d41f87697e8cfa5c (patch) | |
tree | 2f5323e725ebf95a81527ffb338568092f4631a0 /components/style/selector_map.rs | |
parent | 3afab1400a10d2509e1dbead177c3126403e88ee (diff) | |
download | servo-0caad2ffdc0879c12474a500d41f87697e8cfa5c.tar.gz servo-0caad2ffdc0879c12474a500d41f87697e8cfa5c.zip |
Use even fewer bits for source order and shrink ApplicableDeclarationsBlock by another word.
MozReview-Commit-ID: 7B1i1g0HLTj
Diffstat (limited to 'components/style/selector_map.rs')
-rw-r--r-- | components/style/selector_map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/selector_map.rs b/components/style/selector_map.rs index a65b664ad38..8bb9eeb8e31 100644 --- a/components/style/selector_map.rs +++ b/components/style/selector_map.rs @@ -163,7 +163,7 @@ impl SelectorMap<Rule> { // Sort only the rules we just added. sort_by_key(&mut matching_rules_list[init_len..], - |block| (block.specificity, block.source_order)); + |block| (block.specificity, block.source_order())); } /// Check whether we have rules for the given id @@ -190,7 +190,7 @@ impl SelectorMap<Rule> { } sort_by_key(&mut rules_list, - |block| (block.specificity, block.source_order)); + |block| (block.specificity, block.source_order())); rules_list } |