diff options
Diffstat (limited to 'content/shell')
-rw-r--r-- | content/shell/renderer/test_runner/test_runner.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc index de6d749..b5804931 100644 --- a/content/shell/renderer/test_runner/test_runner.cc +++ b/content/shell/renderer/test_runner/test_runner.cc @@ -1933,7 +1933,7 @@ bool TestRunner::IsCommandEnabled(const std::string& command) { } bool TestRunner::CallShouldCloseOnWebView() { - return web_view_->dispatchBeforeUnloadEvent(); + return web_view_->mainFrame()->dispatchBeforeUnloadEvent(); } void TestRunner::SetDomainRelaxationForbiddenForURLScheme( |