Index: Source/core/dom/SelectorQuery.h |
diff --git a/Source/core/dom/SelectorQuery.h b/Source/core/dom/SelectorQuery.h |
index 79e6381faeea9d295ebf021105778e29235551c4..5b37ed2c3d2c913479ff101418de75350953d3c3 100644 |
--- a/Source/core/dom/SelectorQuery.h |
+++ b/Source/core/dom/SelectorQuery.h |
@@ -27,6 +27,7 @@ |
#define SelectorQuery_h |
#include "core/css/CSSSelectorList.h" |
+#include "core/dom/DocumentOrderedList.h" |
#include <wtf/HashMap.h> |
#include <wtf/text/AtomicStringHash.h> |
#include <wtf/Vector.h> |
@@ -56,7 +57,7 @@ private: |
}; |
bool selectorMatches(const SelectorData&, Element*, const Node*) const; |
- std::pair<bool, Node*> findTraverseRoot(Node* traverseRoot) const; |
+ bool findTraverseRoot(Node* rootNode, DocumentOrderedList& traversalRoots) const; |
template <bool firstMatchOnly> |
void execute(Node* rootNode, Vector<RefPtr<Node> >&) const; |