Index: Source/core/html/LabelsNodeList.cpp |
diff --git a/Source/core/html/LabelsNodeList.cpp b/Source/core/html/LabelsNodeList.cpp |
index 1f6068c736c895009f4f5a818b0ff542c2568aa7..6a1e1cee734e01e9e382711ed25d560ac4ebff4a 100644 |
--- a/Source/core/html/LabelsNodeList.cpp |
+++ b/Source/core/html/LabelsNodeList.cpp |
@@ -40,7 +40,9 @@ LabelsNodeList::LabelsNodeList(ContainerNode& ownerNode) |
LabelsNodeList::~LabelsNodeList() |
{ |
+#if !ENABLE(OILPAN) |
ownerNode().nodeLists()->removeCache(this, LabelsNodeListType); |
+#endif |
} |
bool LabelsNodeList::elementMatches(const Element& element) const |