Index: ash/wm/workspace/workspace_event_filter.cc |
diff --git a/ash/wm/workspace/workspace_event_filter.cc b/ash/wm/workspace/workspace_event_filter.cc |
index 91c5c7c54f41d3b308254c0cf8654b1f9da1c78b..863b418555cf27f00bc73d31ccf664d1df7f9d09 100644 |
--- a/ash/wm/workspace/workspace_event_filter.cc |
+++ b/ash/wm/workspace/workspace_event_filter.cc |
@@ -128,7 +128,7 @@ void WorkspaceEventFilter::HandleVerticalResizeDoubleClick( |
int component = |
target->delegate()->GetNonClientComponent(event->location()); |
gfx::Rect work_area = |
- gfx::Screen::GetMonitorNearestWindow(target).work_area(); |
+ gfx::Screen::GetDisplayNearestWindow(target).work_area(); |
const gfx::Rect* restore_bounds = |
target->GetProperty(aura::client::kRestoreBoundsKey); |
if (component == HTBOTTOM || component == HTTOP) { |