Index: chrome/browser/extensions/api/automation/automation_apitest.cc |
diff --git a/chrome/browser/extensions/api/automation/automation_apitest.cc b/chrome/browser/extensions/api/automation/automation_apitest.cc |
index b498453e2d3be4f3929638da1c88e6f2a300da7d..82a9f910989cf833ea374f3961d531094b24d4fd 100644 |
--- a/chrome/browser/extensions/api/automation/automation_apitest.cc |
+++ b/chrome/browser/extensions/api/automation/automation_apitest.cc |
@@ -34,7 +34,7 @@ |
#if defined(OS_CHROMEOS) |
#include "ash/common/accelerators/accelerator_controller.h" |
-#include "ash/common/wm_shell.h" |
+#include "ash/shell.h" |
#include "chrome/browser/ui/aura/accessibility/automation_manager_aura.h" |
#endif |
@@ -203,7 +203,7 @@ IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusIframe) { |
IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusViews) { |
AutomationManagerAura::GetInstance()->Enable(browser()->profile()); |
// Trigger the shelf subtree to be computed. |
- ash::WmShell::Get()->accelerator_controller()->PerformActionIfEnabled( |
+ ash::Shell::Get()->accelerator_controller()->PerformActionIfEnabled( |
ash::FOCUS_SHELF); |
ASSERT_TRUE( |
@@ -221,7 +221,7 @@ IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopNotRequested) { |
IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopActions) { |
AutomationManagerAura::GetInstance()->Enable(browser()->profile()); |
// Trigger the shelf subtree to be computed. |
- ash::WmShell::Get()->accelerator_controller()->PerformActionIfEnabled( |
+ ash::Shell::Get()->accelerator_controller()->PerformActionIfEnabled( |
ash::FOCUS_SHELF); |
ASSERT_TRUE(RunExtensionSubtest("automation/tests/desktop", "actions.html")) |