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

Unified Diff: Source/core/dom/Document.cpp

Issue 492453002: Make it clear a DocumentNameCollection can only contain HTMLElements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Clean up Created 6 years, 4 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/Document.h ('k') | Source/core/html/DocumentNameCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 467cc7c3e1ef6840d449eaffa100f866bac7cfd6..967b448e6d1aa229b55c70e0851d34dea3ed5770 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -4611,7 +4611,7 @@ PassRefPtrWillBeRawPtr<HTMLCollection> Document::windowNamedItems(const AtomicSt
return ensureCachedCollection<WindowNameCollection>(WindowNamedItems, name);
}
-PassRefPtrWillBeRawPtr<HTMLCollection> Document::documentNamedItems(const AtomicString& name)
+PassRefPtrWillBeRawPtr<DocumentNameCollection> Document::documentNamedItems(const AtomicString& name)
{
return ensureCachedCollection<DocumentNameCollection>(DocumentNamedItems, name);
}
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/html/DocumentNameCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698