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

Unified Diff: chrome/browser/extensions/browsertest_util.cc

Issue 2478803003: Remove DOMAutomationController::automation_id_ (Closed)
Patch Set: Rebasing... Created 3 years, 5 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: chrome/browser/extensions/browsertest_util.cc
diff --git a/chrome/browser/extensions/browsertest_util.cc b/chrome/browser/extensions/browsertest_util.cc
index e9b382b2f982a6cfe26b871fd822b8cba51416ac..5f44f9e14e8677395f9a4c05008ec65f2b34e591 100644
--- a/chrome/browser/extensions/browsertest_util.cc
+++ b/chrome/browser/extensions/browsertest_util.cc
@@ -51,7 +51,8 @@ bool ExecuteScriptInBackgroundPageNoWait(Profile* profile,
ADD_FAILURE() << "Extension " << extension_id << " has no background page.";
return false;
}
- return content::ExecuteScript(host->host_contents(), script);
+ content::ExecuteScriptAsync(host->host_contents(), script);
+ return true;
}
void CreateAndInitializeLocalCache() {
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller_browsertest.cc ('k') | chrome/browser/geolocation/geolocation_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698