Index: ash/wm/panels/panel_layout_manager_unittest.cc |
diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc |
index a917efd5d697c4d66e7f09f76baa5c4407908a9b..3ea0f31e536ce9341f10642f3258a1c640f8f45a 100644 |
--- a/ash/wm/panels/panel_layout_manager_unittest.cc |
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "ash/common/shell_window_ids.h" |
#include "ash/common/wm/mru_window_tracker.h" |
#include "ash/common/wm/window_state.h" |
+#include "ash/common/wm_shell.h" |
#include "ash/screen_util.h" |
#include "ash/shelf/shelf.h" |
#include "ash/shelf/shelf_button.h" |
@@ -733,7 +734,7 @@ TEST_F(PanelLayoutManagerTest, PanelsHideAndRestoreWithShelf) { |
// While in full-screen mode, the panel windows should still be in the |
// switchable window list - http://crbug.com/313919. |
aura::Window::Windows switchable_window_list = WmWindowAura::ToAuraWindows( |
- Shell::GetInstance()->mru_window_tracker()->BuildMruWindowList()); |
+ WmShell::Get()->mru_window_tracker()->BuildMruWindowList()); |
EXPECT_EQ(3u, switchable_window_list.size()); |
EXPECT_NE(switchable_window_list.end(), |
std::find(switchable_window_list.begin(), |