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

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

Issue 334713006: Use stricter typing for NodeLists throughout the code base (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo 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
Index: Source/core/dom/ParentNode.h
diff --git a/Source/core/dom/ParentNode.h b/Source/core/dom/ParentNode.h
index 154d368484ab1394ff9b390e6667bf8cd0480439..aa2ff6d188c575c6998d98a9752eaee74484f47c 100644
--- a/Source/core/dom/ParentNode.h
+++ b/Source/core/dom/ParentNode.h
@@ -31,8 +31,11 @@
#ifndef ParentNode_h
#define ParentNode_h
+#include "core/dom/ClassCollection.h"
#include "core/dom/ContainerNode.h"
#include "core/dom/ElementTraversal.h"
+#include "core/dom/NameNodeList.h"
+#include "core/dom/TagCollection.h"
adamk 2014/06/16 20:23:17 Why are these additional #includes needed? I under
Inactive 2014/06/16 20:35:50 This is needed so that the generated V8Document.cp
#include "platform/heap/Handle.h"
namespace WebCore {
@@ -67,7 +70,7 @@ public:
return node.querySelector(selectors, exceptionState);
}
- static PassRefPtrWillBeRawPtr<NodeList> querySelectorAll(ContainerNode& node, const AtomicString& selectors, ExceptionState& exceptionState)
+ static PassRefPtrWillBeRawPtr<StaticNodeList> querySelectorAll(ContainerNode& node, const AtomicString& selectors, ExceptionState& exceptionState)
{
return node.querySelectorAll(selectors, exceptionState);
}

Powered by Google App Engine
This is Rietveld 408576698