Index: Source/core/dom/SelectorQuery.h |
diff --git a/Source/core/dom/SelectorQuery.h b/Source/core/dom/SelectorQuery.h |
index 4b3a45b64e99b494fb5be1d95f97f527d5d0d667..47720b68ef482f76a96f16cccdd8c6782f5622fd 100644 |
--- a/Source/core/dom/SelectorQuery.h |
+++ b/Source/core/dom/SelectorQuery.h |
@@ -40,13 +40,14 @@ class ContainerNode; |
class Document; |
class Element; |
class ExceptionState; |
-class StaticNodeList; |
+template <typename NodeType> class StaticNodeTypeList; |
+typedef StaticNodeTypeList<Element> StaticElementList; |
class SelectorDataList { |
public: |
void initialize(const CSSSelectorList&); |
bool matches(Element&) const; |
- PassRefPtrWillBeRawPtr<StaticNodeList> queryAll(ContainerNode& rootNode) const; |
+ PassRefPtrWillBeRawPtr<StaticElementList> queryAll(ContainerNode& rootNode) const; |
PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const; |
private: |
@@ -88,7 +89,7 @@ public: |
static PassOwnPtr<SelectorQuery> adopt(CSSSelectorList&); |
bool matches(Element&) const; |
- PassRefPtrWillBeRawPtr<StaticNodeList> queryAll(ContainerNode& rootNode) const; |
+ PassRefPtrWillBeRawPtr<StaticElementList> queryAll(ContainerNode& rootNode) const; |
PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const; |
private: |
explicit SelectorQuery(CSSSelectorList&); |