Index: ash/wm/window_resizer.cc |
diff --git a/ash/wm/window_resizer.cc b/ash/wm/window_resizer.cc |
index 7cea2e11277da088d90f70f7fe49d2d6240f53c0..98751066733aa715ee492ce66597f09b3fc70742 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()); |