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