Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.cpp

Issue 2580703003: Make sure pages that are closing but not yet closed are still suspended. (Closed)
Patch Set: revert no longer needed test change Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/DOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
index b6f4c38a4ae1f3e604b4756cd84ccd68be1bc48b..84c469ea2d1e8e361998d35c00430d83a8d4554e 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
@@ -396,7 +396,7 @@ void DOMWindow::close(ExecutionContext* context) {
InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(context, "close",
true);
- page->chromeClient().closeWindowSoon();
+ page->closeSoon();
// So as to make window.closed return the expected result
// after window.close(), separately record the to-be-closed
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/FrameTree.cpp » ('j') | third_party/WebKit/Source/core/page/Page.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698