| 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 eb6cb792baf1942d43f2cba0fdab5a6b7c7f6a3a..026a715908e58ab286b7085a9c0b31f2d40e0864 100644
|
| --- a/components/test_runner/test_runner_for_specific_view.cc
|
| +++ b/components/test_runner/test_runner_for_specific_view.cc
|
| @@ -601,7 +601,7 @@ TestRunnerForSpecificView::EvaluateScriptInIsolatedWorldAndReturnValue(
|
| // This relies on the iframe focusing itself when it loads. This is a bit
|
| // sketchy, but it seems to be what other tests do.
|
| web_view()->focusedFrame()->executeScriptInIsolatedWorld(world_id, &source, 1,
|
| - 1, &values);
|
| + &values);
|
| // Since only one script was added, only one result is expected
|
| if (values.size() == 1 && !values[0].IsEmpty())
|
| return values[0];
|
| @@ -612,7 +612,7 @@ void TestRunnerForSpecificView::EvaluateScriptInIsolatedWorld(
|
| int world_id,
|
| const std::string& script) {
|
| WebScriptSource source(WebString::fromUTF8(script));
|
| - web_view()->focusedFrame()->executeScriptInIsolatedWorld(world_id, &source, 1,
|
| + web_view()->focusedFrame()->executeScriptInIsolatedWorld(world_id, &source,
|
| 1);
|
| }
|
|
|
|
|