Index: Source/WebCore/dom/NameNodeList.cpp |
=================================================================== |
--- Source/WebCore/dom/NameNodeList.cpp (revision 122247) |
+++ Source/WebCore/dom/NameNodeList.cpp (working copy) |
@@ -40,7 +40,7 @@ |
NameNodeList::~NameNodeList() |
{ |
- m_node->nodeLists()->removeCacheWithAtomicName(this, DynamicNodeList::NameNodeListType, m_name); |
+ ownerNode()->nodeLists()->removeCacheWithAtomicName(this, DynamicNodeList::NameNodeListType, m_name); |
} |
bool NameNodeList::nodeMatches(Element* testNode) const |