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; } |