| Index: ash/common/wm/window_cycle_list.cc
|
| diff --git a/ash/common/wm/window_cycle_list.cc b/ash/common/wm/window_cycle_list.cc
|
| index 78c7a771a552403f7448237bfe7a6cc95349e376..5fad4f2aa9bbf25bbc3a1c6c5753b9cba916aa23 100644
|
| --- a/ash/common/wm/window_cycle_list.cc
|
| +++ b/ash/common/wm/window_cycle_list.cc
|
| @@ -13,6 +13,7 @@
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| #include "ash/root_window_controller.h"
|
| +#include "ash/shell.h"
|
| #include "base/command_line.h"
|
| #include "ui/accessibility/ax_node_data.h"
|
| #include "ui/compositor/scoped_layer_animation_settings.h"
|
| @@ -532,7 +533,7 @@ void WindowCycleList::InitWindowCycleView() {
|
| params.name = "WindowCycleList (Alt+Tab)";
|
| // TODO(estade): make sure nothing untoward happens when the lock screen
|
| // or a system modal dialog is shown.
|
| - WmWindow* root_window = WmShell::Get()->GetRootWindowForNewWindows();
|
| + WmWindow* root_window = Shell::GetWmRootWindowForNewWindows();
|
| root_window->GetRootWindowController()->ConfigureWidgetInitParamsForContainer(
|
| widget, kShellWindowId_OverlayContainer, ¶ms);
|
| gfx::Rect widget_rect = root_window->GetDisplayNearestWindow().bounds();
|
|
|