Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index f05dbc32bdab02d2bc001f22e16170b7ab3472c8..5a642d590ced25d8b3b2e996c24eb5d0dbe57c98 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -591,8 +591,10 @@ Document::~Document() |
// We must call clearRareData() here since a Document class inherits TreeScope |
// as well as Node. See a comment on TreeScope.h for the reason. |
+#if !ENABLE(OILPAN) |
if (hasRareData()) |
clearRareData(); |
+#endif |
ASSERT(!m_listsInvalidatedAtDocument.size()); |