Index: ash/wm/window_animations.cc |
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc |
index 913b694d1ff5c48c6d61895df7801e32929ffe73..d5d11e5feaa5f44c2dfdd66e8e2c29fd3fffa010 100644 |
--- a/ash/wm/window_animations.cc |
+++ b/ash/wm/window_animations.cc |
@@ -382,7 +382,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::GetMonitorNearestWindow(window).work_area(); |
+ gfx::Screen::GetDisplayNearestWindow(window).work_area(); |
target_bounds.SetRect(work_area.right(), work_area.bottom(), 0, 0); |
} |
return target_bounds; |