Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: third_party/WebKit/Source/core/dom/SelectorQuery.h

Issue 2786493003: Inline SelectorQuery::executeForTraverseRoots into findTraverseRootsAndExecute. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/SelectorQuery.h
diff --git a/third_party/WebKit/Source/core/dom/SelectorQuery.h b/third_party/WebKit/Source/core/dom/SelectorQuery.h
index 149cf5b386723a783fbf080fec4b8b15de7e0cb6..d8f3c7308ebb78f3714cf8315afe26c31ced619e 100644
--- a/third_party/WebKit/Source/core/dom/SelectorQuery.h
+++ b/third_party/WebKit/Source/core/dom/SelectorQuery.h
@@ -73,21 +73,10 @@ class CORE_EXPORT SelectorQuery {
void findTraverseRootsAndExecute(
ContainerNode& rootNode,
typename SelectorQueryTrait::OutputType&) const;
-
- enum MatchTraverseRootState {
- DoesNotMatchTraverseRoots,
- MatchesTraverseRoots
- };
template <typename SelectorQueryTrait>
void executeForTraverseRoot(ContainerNode* traverseRoot,
ContainerNode& rootNode,
typename SelectorQueryTrait::OutputType&) const;
- template <typename SelectorQueryTrait, typename SimpleElementListType>
- void executeForTraverseRoots(SimpleElementListType& traverseRoots,
- MatchTraverseRootState,
- ContainerNode& rootNode,
- typename SelectorQueryTrait::OutputType&) const;
-
template <typename SelectorQueryTrait>
bool selectorListMatches(ContainerNode& rootNode,
Element&,

Powered by Google App Engine
This is Rietveld 408576698