Index: Source/core/dom/ContainerNode.h |
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h |
index 77080b8dd2a370eec022f55c1155be5ae6344a7b..1ba2f8a5363f822117714952f4e9221bb6005c81 100644 |
--- a/Source/core/dom/ContainerNode.h |
+++ b/Source/core/dom/ContainerNode.h |
@@ -104,10 +104,10 @@ public: |
void removeChild(Node* child, ExceptionState& = ASSERT_NO_EXCEPTION); |
void appendChild(PassRefPtr<Node> newChild, ExceptionState& = ASSERT_NO_EXCEPTION); |
- PassRefPtr<NodeList> getElementsByTagName(const AtomicString&); |
- PassRefPtr<NodeList> getElementsByTagNameNS(const AtomicString& namespaceURI, const AtomicString& localName); |
+ PassRefPtr<HTMLCollection> getElementsByTagName(const AtomicString&); |
+ PassRefPtr<HTMLCollection> getElementsByTagNameNS(const AtomicString& namespaceURI, const AtomicString& localName); |
PassRefPtr<NodeList> getElementsByName(const AtomicString& elementName); |
- PassRefPtr<NodeList> getElementsByClassName(const AtomicString& classNames); |
+ PassRefPtr<HTMLCollection> getElementsByClassName(const AtomicString& classNames); |
PassRefPtr<RadioNodeList> radioNodeList(const AtomicString&, bool onlyMatchImgElements = false); |
// These methods are only used during parsing. |