| 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() {
|
|
|