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

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: 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/MutationRecord.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NamedNodesCollection.h
diff --git a/Source/core/dom/NamedNodesCollection.h b/Source/core/dom/NamedNodesCollection.h
index d30a2ad05b6ff6b09b2cbdb11e2536d73e64509f..8aabae46e825ac85dc7208b29f3ed74b6b5d37f6 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));
}
« no previous file with comments | « Source/core/dom/MutationRecord.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698