Index: Source/core/dom/TagNodeList.cpp |
diff --git a/Source/core/dom/TagNodeList.cpp b/Source/core/dom/TagNodeList.cpp |
index 1b5a461c4c486a15455d4dc6467cfe530612c7ae..2df54f5e05fc6264ada000a93e94f9090d5e1075 100644 |
--- a/Source/core/dom/TagNodeList.cpp |
+++ b/Source/core/dom/TagNodeList.cpp |
@@ -29,7 +29,7 @@ |
namespace WebCore { |
-TagNodeList::TagNodeList(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) |
+TagNodeList::TagNodeList(PassRefPtr<ContainerNode> rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) |
: LiveNodeList(rootNode, type, DoNotInvalidateOnAttributeChanges) |
, m_namespaceURI(namespaceURI) |
, m_localName(localName) |
@@ -54,7 +54,7 @@ bool TagNodeList::nodeMatches(const Element& testNode) const |
return m_namespaceURI == starAtom || m_namespaceURI == testNode.namespaceURI(); |
} |
-HTMLTagNodeList::HTMLTagNodeList(PassRefPtr<Node> rootNode, const AtomicString& localName) |
+HTMLTagNodeList::HTMLTagNodeList(PassRefPtr<ContainerNode> rootNode, const AtomicString& localName) |
: TagNodeList(rootNode, HTMLTagNodeListType, starAtom, localName) |
, m_loweredLocalName(localName.lower()) |
{ |