Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 0e4a46cdbf2df2c7fcd0c640f33d1b21906fa442..922487e26cebd25b1626c6c36508d8b54749d645 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -2185,11 +2185,6 @@ void Document::detach(const AttachContext& context) |
lifecycleNotifier().notifyDocumentWasDetached(); |
m_lifecycle.advanceTo(DocumentLifecycle::Stopped); |
-#if ENABLE(OILPAN) |
- // Done with the window, explicitly clear to hasten its |
- // destruction. |
- clearDOMWindow(); |
-#endif |
// FIXME: Currently we call notifyContextDestroyed() only in |
// Document::detach(), which means that we don't call |