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

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

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/bindings/core/v8/WindowProxy.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 2c3c9b93518086d99f91f0705548559c7c721b55..6ea9bf350cd114f955fa9b5bfb559a292bc2686b 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -80,6 +80,7 @@ class DocumentFragment;
class DocumentLifecycleNotifier;
class DocumentLoader;
class DocumentMarkerController;
+class DocumentNameCollection;
class DocumentParser;
class DocumentState;
class DocumentType;
@@ -363,7 +364,7 @@ public:
PassRefPtrWillBeRawPtr<HTMLAllCollection> all();
PassRefPtrWillBeRawPtr<HTMLCollection> windowNamedItems(const AtomicString& name);
- PassRefPtrWillBeRawPtr<HTMLCollection> documentNamedItems(const AtomicString& name);
+ PassRefPtrWillBeRawPtr<DocumentNameCollection> documentNamedItems(const AtomicString& name);
bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; }
bool isXHTMLDocument() const { return m_documentClasses & XHTMLDocumentClass; }
« no previous file with comments | « Source/bindings/core/v8/WindowProxy.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698