Chromium Code Reviews| Index: components/test_runner/test_runner_for_specific_view.cc |
| diff --git a/components/test_runner/test_runner_for_specific_view.cc b/components/test_runner/test_runner_for_specific_view.cc |
| index 4476f3d210e0e0d190601966a61653a2b544098c..482a9f583a93968a84eb7c7927c0c230a7157a60 100644 |
| --- a/components/test_runner/test_runner_for_specific_view.cc |
| +++ b/components/test_runner/test_runner_for_specific_view.cc |
| @@ -559,7 +559,8 @@ void TestRunnerForSpecificView::DidLosePointerLockInternal() { |
| } |
| bool TestRunnerForSpecificView::CallShouldCloseOnWebView() { |
| - return web_view()->mainFrame()->dispatchBeforeUnloadEvent(); |
| + return web_view()->mainFrame()->toWebLocalFrame()->dispatchBeforeUnloadEvent( |
|
nasko
2016/05/09 21:56:04
I don't think you can make this assumption here. I
Łukasz Anforowicz
2016/05/09 22:43:23
nasko@ - you are correct that web_view()->mainFram
clamy
2016/05/10 00:39:56
With the current architecture, you would get a NOT
clamy
2016/05/10 01:58:08
Went with CHECK(false).
|
| + false); |
| } |
| void TestRunnerForSpecificView::SetDomainRelaxationForbiddenForURLScheme( |