Index: Source/core/frame/LocalDOMWindow.cpp |
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp |
index 0dfa1b05271b5c9587a68c34c68a3249409bfed4..b4ab133cca891b6530b8552be90e33dcc59d6779 100644 |
--- a/Source/core/frame/LocalDOMWindow.cpp |
+++ b/Source/core/frame/LocalDOMWindow.cpp |
@@ -544,7 +544,8 @@ Page* LocalDOMWindow::page() |
void LocalDOMWindow::frameDestroyed() |
{ |
FrameDestructionObserver::frameDestroyed(); |
- reset(); |
+ willDestroyDocumentInFrame(); |
+ m_properties.clear(); |
} |
void LocalDOMWindow::willDetachFrameHost() |