Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
index c3389570cdb07f16d4a8bf2ba1dc726d5c2efc61..1aec0f32fb4a38331772e5678d006944da4142fd 100644 |
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
@@ -477,12 +477,6 @@ bool ChromeClientImpl::openBeforeUnloadConfirmPanelDelegate(LocalFrame* frame, |
} |
void ChromeClientImpl::closeWindowSoon() { |
- // Make sure this Page can no longer be found by JS. |
- m_webView->page()->willBeClosed(); |
- |
- // Make sure that all loading is stopped. Ensures that JS stops executing! |
- m_webView->mainFrame()->stopLoading(); |
- |
if (m_webView->client()) |
m_webView->client()->closeWidgetSoon(); |
} |