Chromium Code Reviews| Index: components/test_runner/test_runner.cc |
| diff --git a/components/test_runner/test_runner.cc b/components/test_runner/test_runner.cc |
| index 429bf34a2cfd122d66c0e568c6c060effdad5bfa..2417efc3d4bd4cd9ca69f9548aa9e23692324c6d 100644 |
| --- a/components/test_runner/test_runner.cc |
| +++ b/components/test_runner/test_runner.cc |
| @@ -3111,13 +3111,16 @@ void TestRunnerForSpecificView::RemoveWebPageOverlay() { |
| } |
| void TestRunnerForSpecificView::LayoutAndPaintAsync() { |
| - test_runner::LayoutAndPaintAsyncThen(web_view(), base::Closure()); |
| + test_runner::LayoutAndPaintAsyncThen( |
| + web_view()->mainFrame()->toWebLocalFrame()->frameWidget(), |
|
dcheng
2016/05/03 09:27:13
I think TestRunnerForSpecificView should actually
Łukasz Anforowicz
2016/05/03 16:09:55
TestRunnerForSpecificView has some view-specific t
lfg
2016/05/03 21:19:43
I think option 1 is similar to how the TestRunnerF
|
| + base::Closure()); |
| } |
| void TestRunnerForSpecificView::LayoutAndPaintAsyncThen( |
| v8::Local<v8::Function> callback) { |
| test_runner::LayoutAndPaintAsyncThen( |
| - web_view(), CreateClosureThatPostsV8Callback(callback)); |
| + web_view()->mainFrame()->toWebLocalFrame()->frameWidget(), |
| + CreateClosureThatPostsV8Callback(callback)); |
| } |
| void TestRunnerForSpecificView::GetManifestThen( |