Index: Source/core/dom/TagCollection.cpp |
diff --git a/Source/core/dom/TagCollection.cpp b/Source/core/dom/TagCollection.cpp |
index 3a20c24b8b981ff724ba8d83f381f9c6e4524e6a..98bd3e4e3dd122d24742d270b36d5453819e6625 100644 |
--- a/Source/core/dom/TagCollection.cpp |
+++ b/Source/core/dom/TagCollection.cpp |
@@ -29,7 +29,7 @@ |
namespace WebCore { |
-TagCollection::TagCollection(ContainerNode* rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) |
+TagCollection::TagCollection(ContainerNode& rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) |
: HTMLCollection(rootNode, type, DoesNotOverrideItemAfter) |
, m_namespaceURI(namespaceURI) |
, m_localName(localName) |
@@ -54,7 +54,7 @@ bool TagCollection::elementMatches(const Element& testNode) const |
return m_namespaceURI == starAtom || m_namespaceURI == testNode.namespaceURI(); |
} |
-HTMLTagCollection::HTMLTagCollection(ContainerNode* rootNode, const AtomicString& localName) |
+HTMLTagCollection::HTMLTagCollection(ContainerNode& rootNode, const AtomicString& localName) |
: TagCollection(rootNode, HTMLTagCollectionType, starAtom, localName) |
, m_loweredLocalName(localName.lower()) |
{ |