summaryrefslogtreecommitdiffstats
path: root/ash/wm/window_resizer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/window_resizer.cc')
-rw-r--r--ash/wm/window_resizer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/window_resizer.cc b/ash/wm/window_resizer.cc
index 7cea2e1..9875106 100644
--- a/ash/wm/window_resizer.cc
+++ b/ash/wm/window_resizer.cc
@@ -204,7 +204,7 @@ gfx::Rect WindowResizer::CalculateBoundsForDrag(
details.window_component == HTBOTTOMRIGHT ||
details.window_component == HTBOTTOMLEFT) {
gfx::Rect work_area =
- ScreenAsh::GetDisplayWorkAreaParentBounds(details.window);
+ ScreenAsh::GetDisplayWorkAreaBoundsInParent(details.window);
if (new_bounds.bottom() > work_area.bottom())
new_bounds.Inset(0, 0, 0,
new_bounds.bottom() - work_area.bottom());