Index: ash/wm/window_animations.cc |
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc |
index fc1422470e2e513be8c55b8a9d4cc5b6f0cfb0bb..011ef815f95cb4aa2e1080bfa248ce8dce1c7cdd 100644 |
--- a/ash/wm/window_animations.cc |
+++ b/ash/wm/window_animations.cc |
@@ -493,7 +493,7 @@ gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) { |
// to the location of the application launcher (which is fixed as first item |
// of the shelf). |
gfx::Rect work_area = |
- Shell::GetScreen()->GetDisplayNearestWindow(window).work_area(); |
+ gfx::Screen::GetScreen()->GetDisplayNearestWindow(window).work_area(); |
int ltr_adjusted_x = base::i18n::IsRTL() ? work_area.right() : work_area.x(); |
switch (layout_manager->GetAlignment()) { |
case SHELF_ALIGNMENT_BOTTOM: |