Chromium Code Reviews| Index: Source/core/frame/LocalDOMWindow.cpp |
| diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp |
| index ed9a8f2e6811923007d013922095cb82826c7984..4d066b5f4e08001f09de5a790cf07814b9fe9720 100644 |
| --- a/Source/core/frame/LocalDOMWindow.cpp |
| +++ b/Source/core/frame/LocalDOMWindow.cpp |
| @@ -981,6 +981,8 @@ void LocalDOMWindow::close(ExecutionContext* context) |
| if (!m_frame->loader().shouldClose()) |
| return; |
| + InspectorInstrumentation::willCloseWindow(context); |
| + |
| page->chrome().closeWindowSoon(); |
| } |