Index: Source/core/dom/TagCollection.cpp |
diff --git a/Source/core/dom/TagCollection.cpp b/Source/core/dom/TagCollection.cpp |
index 98bd3e4e3dd122d24742d270b36d5453819e6625..0e2bb71ff2ded1708087dc4d19134fadab64594d 100644 |
--- a/Source/core/dom/TagCollection.cpp |
+++ b/Source/core/dom/TagCollection.cpp |
@@ -39,10 +39,12 @@ TagCollection::TagCollection(ContainerNode& rootNode, CollectionType type, const |
TagCollection::~TagCollection() |
{ |
+#if !ENABLE(OILPAN) |
if (m_namespaceURI == starAtom) |
ownerNode().nodeLists()->removeCache(this, type(), m_localName); |
else |
ownerNode().nodeLists()->removeCache(this, m_namespaceURI, m_localName); |
+#endif |
} |
bool TagCollection::elementMatches(const Element& testNode) const |