Index: Source/WebCore/dom/TagNodeList.cpp |
=================================================================== |
--- Source/WebCore/dom/TagNodeList.cpp (revision 122247) |
+++ Source/WebCore/dom/TagNodeList.cpp (working copy) |
@@ -41,9 +41,9 @@ |
TagNodeList::~TagNodeList() |
{ |
if (m_namespaceURI == starAtom) |
- m_node->nodeLists()->removeCacheWithAtomicName(this, DynamicNodeList::TagNodeListType, m_localName); |
+ ownerNode()->nodeLists()->removeCacheWithAtomicName(this, DynamicNodeList::TagNodeListType, m_localName); |
else |
- m_node->nodeLists()->removeCacheWithQualifiedName(this, m_namespaceURI, m_localName); |
+ ownerNode()->nodeLists()->removeCacheWithQualifiedName(this, m_namespaceURI, m_localName); |
} |
bool TagNodeList::nodeMatches(Element* testNode) const |