Index: ash/app_list/app_list_view.cc |
diff --git a/ash/app_list/app_list_view.cc b/ash/app_list/app_list_view.cc |
index 28b8110c0d710d624f6b7b4f5f5e06463ef8fc91..84f68f5878c73b5b31884a26c5d2400cb82a0bff 100644 |
--- a/ash/app_list/app_list_view.cc |
+++ b/ash/app_list/app_list_view.cc |
@@ -124,8 +124,8 @@ void AppListView::Layout() { |
// Gets work area rect, which is in screen coordinates. |
gfx::Rect workarea = Shell::GetInstance()->shelf()->IsVisible() ? |
ScreenAsh::GetUnmaximizedWorkAreaBounds(GetWidget()->GetNativeView()) : |
- gfx::Screen::GetMonitorWorkAreaNearestWindow( |
- GetWidget()->GetNativeView()); |
+ gfx::Screen::GetMonitorNearestWindow( |
+ GetWidget()->GetNativeView()).work_area(); |
// Converts |workarea| into view's coordinates. |
gfx::Point origin(workarea.origin()); |