Index: chrome/browser/extensions/api/extension_action/browser_action_apitest.cc |
diff --git a/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc b/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc |
index 06017801b9eabeeadf4879fe04e0e154f337a984..dc680e30177caf737c931b086c9f9cd9956534a7 100644 |
--- a/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc |
+++ b/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc |
@@ -120,7 +120,8 @@ IN_PROC_BROWSER_TEST_F(BrowserActionApiTest, Basic) { |
ExtensionService* service = extensions::ExtensionSystem::Get( |
browser()->profile())->extension_service(); |
- service->toolbar_model()->ExecuteBrowserAction(extension, browser(), NULL); |
+ service->toolbar_model()->ExecuteBrowserAction( |
+ extension, browser(), NULL, true); |
ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
} |
@@ -590,7 +591,7 @@ IN_PROC_BROWSER_TEST_F(BrowserActionApiTest, DISABLED_CloseBackgroundPage) { |
// Click the browser action. |
extensions::ExtensionSystem::Get(browser()->profile())->extension_service()-> |
- toolbar_model()->ExecuteBrowserAction(extension, browser(), NULL); |
+ toolbar_model()->ExecuteBrowserAction(extension, browser(), NULL, true); |
// It can take a moment for the background page to actually get destroyed |
// so we wait for the notification before checking that it's really gone |