Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 73a806fbce49d912dcc2a110cfe5003cfc031131..f472917f40adaa24ea8971204848838ba10fd5c2 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -589,8 +589,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()); |