Index: Source/core/html/HTMLNameCollection.cpp |
diff --git a/Source/core/html/HTMLNameCollection.cpp b/Source/core/html/HTMLNameCollection.cpp |
index ffa5fd033d03b92b7df7b2034f68329b1fc8f3f7..47f681dbbea9c48b664f5717f0996489bb3163b5 100644 |
--- a/Source/core/html/HTMLNameCollection.cpp |
+++ b/Source/core/html/HTMLNameCollection.cpp |
@@ -46,7 +46,7 @@ HTMLNameCollection::~HTMLNameCollection() |
ASSERT(ownerNode()->isDocumentNode()); |
ASSERT(type() == WindowNamedItems || type() == DocumentNamedItems); |
- ownerNode()->nodeLists()->removeCacheWithAtomicName(this, type(), m_name); |
+ ownerNode()->nodeLists()->removeCache(this, type(), m_name); |
} |
Element* HTMLNameCollection::virtualItemAfter(Element* previous) const |