mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 1426516
: Remove Valgrind workaround to make ::slotted use the rule hash. r=me
MozReview-Commit-ID: 2q14kHjajIr
This commit is contained in:
parent
1dd6ba95b7
commit
158c258b7e
@ -454,13 +454,7 @@ fn specific_bucket_for<'a>(component: &'a Component<SelectorImpl>) -> Bucket<'a>
|
||||
//
|
||||
// So inserting `span` in the rule hash makes sense since we want to
|
||||
// match the slotted <span>.
|
||||
//
|
||||
// FIXME(emilio, bug 1426516): The line below causes valgrind failures
|
||||
// and it's probably a false positive, we should uncomment whenever
|
||||
// jseward is back to confirm / whitelist it.
|
||||
//
|
||||
// Meanwhile taking the code path below is slower, but still correct.
|
||||
// Component::Slotted(ref selector) => find_bucket(selector.iter()),
|
||||
Component::Slotted(ref selector) => find_bucket(selector.iter()),
|
||||
Component::Host(Some(ref selector)) => find_bucket(selector.iter()),
|
||||
_ => Bucket::Universal,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user