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

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

Issue 334713006: Use stricter typing for NodeLists throughout the code base (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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 | « Source/core/dom/RangeTest.cpp ('k') | Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/SelectorQuery.h
diff --git a/Source/core/dom/SelectorQuery.h b/Source/core/dom/SelectorQuery.h
index 06cc801a6e2a07e4ffc17c157c3c9482d74b1874..63edd158402f27e9a25f308f72313edaee725c05 100644
--- a/Source/core/dom/SelectorQuery.h
+++ b/Source/core/dom/SelectorQuery.h
@@ -41,15 +41,15 @@ class Document;
class Element;
class ExceptionState;
class Node;
-class NodeList;
class SimpleNodeList;
+class StaticNodeList;
class SpaceSplitString;
class SelectorDataList {
public:
void initialize(const CSSSelectorList&);
bool matches(Element&) const;
- PassRefPtrWillBeRawPtr<NodeList> queryAll(ContainerNode& rootNode) const;
+ PassRefPtrWillBeRawPtr<StaticNodeList> queryAll(ContainerNode& rootNode) const;
PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const;
private:
@@ -91,7 +91,7 @@ public:
static PassOwnPtr<SelectorQuery> adopt(CSSSelectorList&);
bool matches(Element&) const;
- PassRefPtrWillBeRawPtr<NodeList> queryAll(ContainerNode& rootNode) const;
+ PassRefPtrWillBeRawPtr<StaticNodeList> queryAll(ContainerNode& rootNode) const;
PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const;
private:
explicit SelectorQuery(CSSSelectorList&);
« no previous file with comments | « Source/core/dom/RangeTest.cpp ('k') | Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698