Index: Source/core/dom/ClassCollection.cpp |
diff --git a/Source/core/dom/ClassCollection.cpp b/Source/core/dom/ClassCollection.cpp |
index 73d6a3ae87f82aaedd54b3eb446d055a9d632309..04e2bdcb920c79280714ea712a08f29432393439 100644 |
--- a/Source/core/dom/ClassCollection.cpp |
+++ b/Source/core/dom/ClassCollection.cpp |
@@ -44,7 +44,9 @@ ClassCollection::ClassCollection(ContainerNode& rootNode, const AtomicString& cl |
ClassCollection::~ClassCollection() |
{ |
+#if !ENABLE(OILPAN) |
ownerNode().nodeLists()->removeCache(this, ClassCollectionType, m_originalClassNames); |
+#endif |
} |
} // namespace WebCore |