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 |