| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 86f2a58cdd13d15cae46cec45c18279a660a36d9..6811a9b165354fd7c30dbc48ac8a21ffcb898b09 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -475,6 +475,7 @@ void LocalDOMWindow::frameDestroyed() {
|
| for (const auto& domWindowProperty : m_properties)
|
| domWindowProperty->frameDestroyed();
|
|
|
| + clearDocument();
|
| resetLocation();
|
| m_properties.clear();
|
| removeAllEventListeners();
|
|
|