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

Unified Diff: Source/core/dom/NamedNodesCollection.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/NamedNodesCollection.h
diff --git a/Source/core/dom/NamedNodesCollection.h b/Source/core/dom/NamedNodesCollection.h
index 025fb07b812042e5865ae80169d7f6f4adbf9090..0044e0b3a0941eae3beda818580359b39bf85193 100644
--- a/Source/core/dom/NamedNodesCollection.h
+++ b/Source/core/dom/NamedNodesCollection.h
@@ -41,7 +41,7 @@ namespace WebCore {
class NamedNodesCollection FINAL : public NodeList {
public:
- static PassRefPtrWillBeRawPtr<NodeList> create(const WillBeHeapVector<RefPtrWillBeMember<Element> >& nodes)
+ static PassRefPtrWillBeRawPtr<NamedNodesCollection> create(const WillBeHeapVector<RefPtrWillBeMember<Element> >& nodes)
{
return adoptRefWillBeNoop(new NamedNodesCollection(nodes));
}

Powered by Google App Engine
This is Rietveld 408576698