| Index: content/shell/renderer/test_runner/test_runner.cc
|
| diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
|
| index de6d74996384717e77be7f545344492bcaee8b74..b58049316603abbf6368aaf1655327e4d6eb3bdd 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(
|
|
|