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

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

Issue 2785253002: Reuse executeForTraverseRoot to avoid a manual loop in SelectorQuery::findTraverseRootsAndExecute. (Closed)
Patch Set: woops 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d8f3c7308ebb78f3714cf8315afe26c31ced619e..79b5e6a1756cb7e70e26fe940d09095d93c3d487 100644
--- a/third_party/WebKit/Source/core/dom/SelectorQuery.h
+++ b/third_party/WebKit/Source/core/dom/SelectorQuery.h
@@ -74,7 +74,7 @@ class CORE_EXPORT SelectorQuery {
ContainerNode& rootNode,
typename SelectorQueryTrait::OutputType&) const;
template <typename SelectorQueryTrait>
- void executeForTraverseRoot(ContainerNode* traverseRoot,
+ void executeForTraverseRoot(ContainerNode& traverseRoot,
ContainerNode& rootNode,
typename SelectorQueryTrait::OutputType&) const;
template <typename SelectorQueryTrait>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698