Index: ash/wm/workspace/snap_sizer.cc |
diff --git a/ash/wm/workspace/snap_sizer.cc b/ash/wm/workspace/snap_sizer.cc |
index 06a80e900936644f0f3e71190227b984773b74bd..4c0d05b98bc8c23199b9f72e6e7b7d876d4b1c62 100644 |
--- a/ash/wm/workspace/snap_sizer.cc |
+++ b/ash/wm/workspace/snap_sizer.cc |
@@ -90,7 +90,7 @@ void SnapSizer::SelectDefaultSizeAndDisableResize() { |
} |
gfx::Rect SnapSizer::GetTargetBoundsForSize(size_t size_index) const { |
- gfx::Rect work_area(ScreenAsh::GetUnmaximizedWorkAreaBoundsInParent(window_)); |
+ gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent(window_)); |
int y = work_area.y(); |
// We don't align to the bottom of the grid as the launcher may not |
// necessarily align to the grid (happens when auto-hidden). |