| Index: chrome/browser/extensions/extension_keybinding_apitest.cc
|
| diff --git a/chrome/browser/extensions/extension_keybinding_apitest.cc b/chrome/browser/extensions/extension_keybinding_apitest.cc
|
| index a58db86d65061f60230fa67474d375cf673d3535..6985b547e1881d4e16fa030b5b0d3ee07e33cdad 100644
|
| --- a/chrome/browser/extensions/extension_keybinding_apitest.cc
|
| +++ b/chrome/browser/extensions/extension_keybinding_apitest.cc
|
| @@ -133,10 +133,6 @@ class CommandsApiTest : public ExtensionApiTest {
|
| ~CommandsApiTest() override {}
|
|
|
| protected:
|
| - BrowserActionTestUtil GetBrowserActionsBar() {
|
| - return BrowserActionTestUtil(browser());
|
| - }
|
| -
|
| bool IsGrantedForTab(const Extension* extension,
|
| const content::WebContents* web_contents) {
|
| return extension->permissions_data()->HasAPIPermissionForTab(
|
| @@ -187,8 +183,9 @@ IN_PROC_BROWSER_TEST_F(CommandsApiTest, Basic) {
|
| // immaterial to this test).
|
| ASSERT_TRUE(RunExtensionTest("keybinding/conflicting")) << message_;
|
|
|
| + BrowserActionTestUtil browser_actions_bar(browser());
|
| // Test that there are two browser actions in the toolbar.
|
| - ASSERT_EQ(2, GetBrowserActionsBar().NumberOfBrowserActions());
|
| + ASSERT_EQ(2, browser_actions_bar.NumberOfBrowserActions());
|
|
|
| ui_test_utils::NavigateToURL(
|
| browser(), test_server()->GetURL("files/extensions/test_file.txt"));
|
|
|