mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
style: Workaround a likely valgrind false-positive.
This commit is contained in:
parent
dfd8e85338
commit
79e0f19221
1 changed files with 7 additions and 1 deletions
|
@ -433,7 +433,13 @@ fn specific_bucket_for<'a>(
|
|||
//
|
||||
// So inserting `span` in the rule hash makes sense since we want to
|
||||
// match the slotted <span>.
|
||||
Component::Slotted(ref selector) => find_bucket(selector.iter()),
|
||||
//
|
||||
// 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()),
|
||||
_ => Bucket::Universal
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue