Index: ash/wm/window_animations.cc |
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc |
index 96ecddc2a808f17f752d75422e44f35ceb5b47b9..8b2e903fdb175e82142d2433969e720c28fe76cb 100644 |
--- a/ash/wm/window_animations.cc |
+++ b/ash/wm/window_animations.cc |
@@ -398,7 +398,7 @@ gfx::Rect GetMinimizeRectForWindow(aura::Window* window) { |
// Assume the launcher is overflowed, zoom off to the bottom right of the |
// work area. |
gfx::Rect work_area = |
- gfx::Screen::GetDisplayNearestWindow(window).work_area(); |
+ Shell::GetScreen()->GetDisplayNearestWindow(window).work_area(); |
target_bounds.SetRect(work_area.right(), work_area.bottom(), 0, 0); |
} |
target_bounds = |