| 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 f70abf06cd1c9295a857c5e668cb49cc030232d1..390bca8100b2b020787c948686a2e0f5dce228c9 100644
|
| --- a/ash/common/wm/window_cycle_list.cc
|
| +++ b/ash/common/wm/window_cycle_list.cc
|
| @@ -503,7 +503,7 @@ void WindowCycleList::OnDisplayMetricsChanged(const display::Display& display,
|
| if (cycle_ui_widget_ &&
|
| display.id() ==
|
| display::Screen::GetScreen()
|
| - ->GetDisplayNearestWindow(cycle_ui_widget_->GetNativeView())
|
| + ->GetDisplayNearestWindow(cycle_ui_widget_->GetNativeWindow())
|
| .id() &&
|
| (changed_metrics & (DISPLAY_METRIC_BOUNDS | DISPLAY_METRIC_ROTATION))) {
|
| Shell::Get()->window_cycle_controller()->CancelCycling();
|
|
|