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 fa743d87d17bf4dd41fbd7376a6a0845ac3b8c7f..4cf0fe7f40534c065999f18f36a9572e4a91f9e9 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(); |
} |