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