| 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 3b8e896d6faae3b6c4a9425afaef82cf731e96e5..d9132e32eaee9cd2c2b420e05fb0b7a75bf81f26 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -487,6 +487,8 @@ void LocalDOMWindow::registerEventListenerObserver(EventListenerObserver* eventL
|
|
|
| void LocalDOMWindow::reset()
|
| {
|
| + DCHECK(document());
|
| + document()->notifyContextDestroyed();
|
| frameDestroyed();
|
|
|
| m_screen = nullptr;
|
|
|