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 974ed2c3612304b6ec8e03216bc3150de99941ec..934330219586b487fa5da3e0682a892ab0448231 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp |
@@ -397,7 +397,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 |