DescriptionReuse selectorListMatches for all loops over the selectors in SelectorQuery.
This means we need to repeat the SelectorQueryTrait::appendElement +
SelectorQueryTrait::shouldOnlyMatchFirstElement dance in two places, but it
removes two for loops as a trade and lets us untemplatize the
selectorListMatches function which is nice.
BUG=703900
Review-Url: https://codereview.chromium.org/2791473002
Cr-Commit-Position: refs/heads/master@{#460949}
Committed: https://chromium.googlesource.com/chromium/src/+/3d7c1de5f24317f05204476c657ff93d088aa514
Patch Set 1 #
Messages
Total messages: 17 (13 generated)
|