| Index: Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
|
| index 0eb295eb957c3f684cf3e37a0385ced090dc1e5f..eea3020b6026dff7989f703fd2ba5e78692d3418 100644
|
| --- a/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -580,6 +580,7 @@ void LocalDOMWindow::willDetachFrameHost()
|
| {
|
| frame()->host()->eventHandlerRegistry().didRemoveAllEventHandlers(*this);
|
| frame()->host()->consoleMessageStorage().frameWindowDiscarded(this);
|
| + LifecycleContext<LocalDOMWindow>::contextDestroyed();
|
| }
|
|
|
| void LocalDOMWindow::willDestroyDocumentInFrame()
|
| @@ -628,6 +629,8 @@ void LocalDOMWindow::reset()
|
| #if ENABLE(ASSERT)
|
| m_hasBeenReset = true;
|
| #endif
|
| +
|
| + LifecycleContext<LocalDOMWindow>::contextDestroyed();
|
| }
|
|
|
| bool LocalDOMWindow::isCurrentlyDisplayedInFrame() const
|
|
|