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

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

Issue 2478803003: Remove DOMAutomationController::automation_id_ (Closed)
Patch Set: Rebasing... Created 3 years, 6 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..9b5870b0dfc4319fba48d493cfdc9314e71b6f10 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::ExecuteUnmodifiedScript(host->host_contents(), script);
+ return true;
}
void CreateAndInitializeLocalCache() {

Powered by Google App Engine
This is Rietveld 408576698