Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index efb06651b06ba78d6fc10de0c900fd0dde2b6764..5448f4b2d046c0ee1e834fc7469b3fd78305cebb 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -93,7 +93,9 @@ void ContainerNode::parserTakeAllChildrenFrom(ContainerNode& oldParent) |
ContainerNode::~ContainerNode() |
{ |
+#if !ENABLE(OILPAN) |
willBeDeletedFromDocument(); |
+#endif |
removeDetachedChildren(); |
} |