| Index: ash/wm/workspace/snap_sizer.cc
|
| diff --git a/ash/wm/workspace/snap_sizer.cc b/ash/wm/workspace/snap_sizer.cc
|
| index 997b7199b4588a692c1f402b15e043cadceaef90..ca0ccb65541060d980f68ef542b71622dafc1c25 100644
|
| --- a/ash/wm/workspace/snap_sizer.cc
|
| +++ b/ash/wm/workspace/snap_sizer.cc
|
| @@ -110,7 +110,7 @@ gfx::Rect SnapSizer::GetTargetBounds() const {
|
| }
|
|
|
| gfx::Rect SnapSizer::GetTargetBoundsForPercent(int percent_index) const {
|
| - gfx::Rect work_area(ScreenAsh::GetUnmaximizedWorkAreaParentBounds(window_));
|
| + gfx::Rect work_area(ScreenAsh::GetUnmaximizedWorkAreaBoundsInParent(window_));
|
| int y = WindowResizer::AlignToGridRoundUp(work_area.y(), grid_size_);
|
| // We don't align to the bottom of the grid as the launcher may not
|
| // necessarily align to the grid (happens when auto-hidden).
|
| @@ -129,7 +129,7 @@ gfx::Rect SnapSizer::GetTargetBoundsForPercent(int percent_index) const {
|
| }
|
|
|
| bool SnapSizer::AlongEdge(int x) const {
|
| - gfx::Rect area(ScreenAsh::GetDisplayParentBounds(window_));
|
| + gfx::Rect area(ScreenAsh::GetDisplayBoundsInParent(window_));
|
| return (x <= area.x()) || (x >= area.right() - 1);
|
| }
|
|
|
|
|