Index: ash/wm/overview/window_grid.cc |
diff --git a/ash/wm/overview/window_grid.cc b/ash/wm/overview/window_grid.cc |
index ec3b362d34fd1b6ba3beb88acb46b75d5dd5ecc2..33fc3fe58dbdcae23d1ffd9cc81d077372c31c72 100644 |
--- a/ash/wm/overview/window_grid.cc |
+++ b/ash/wm/overview/window_grid.cc |
@@ -447,8 +447,8 @@ void WindowGrid::InitSelectionWidget(WindowSelector::Direction direction) { |
const gfx::Rect target_bounds = SelectedWindow()->target_bounds(); |
gfx::Vector2d fade_out_direction = |
GetSlideVectorForFadeIn(direction, target_bounds); |
- gfx::Display dst_display = gfx::Screen::GetScreenFor(root_window_)-> |
- GetDisplayMatching(target_bounds); |
+ gfx::Display dst_display = |
+ gfx::Screen::GetScreen()->GetDisplayMatching(target_bounds); |
selection_widget_->GetNativeWindow()->SetBoundsInScreen( |
target_bounds - fade_out_direction, dst_display); |
} |