Index: Source/core/html/HTMLCollection.cpp |
diff --git a/Source/core/html/HTMLCollection.cpp b/Source/core/html/HTMLCollection.cpp |
index 4b0ac6290ffc4366cdf971ce318201c446371d14..46350053705dcac07eea661a6ea0e57f2e920095 100644 |
--- a/Source/core/html/HTMLCollection.cpp |
+++ b/Source/core/html/HTMLCollection.cpp |
@@ -179,7 +179,7 @@ HTMLCollection::~HTMLCollection() |
// HTMLNameCollection, ClassCollection and TagCollection remove cache by themselves. |
if (type() != WindowNamedItems && type() != DocumentNamedItems && type() != ClassCollectionType |
&& type() != HTMLTagCollectionType && type() != TagCollectionType) { |
- ownerNode()->nodeLists()->removeCacheWithAtomicName(this, type()); |
+ ownerNode()->nodeLists()->removeCache(this, type()); |
} |
} |