Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: components/test_runner/test_runner_for_specific_view.cc

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)
Patch Set: Fix GCCallbackTest Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698