| Index: ash/wm/workspace/snap_sizer.cc
|
| diff --git a/ash/wm/workspace/snap_sizer.cc b/ash/wm/workspace/snap_sizer.cc
|
| index 0816ff00acdbc40b6e6537745a97af9d6d5e9a86..092ba69729e90b1e6525783adf81d7f49922c336 100644
|
| --- a/ash/wm/workspace/snap_sizer.cc
|
| +++ b/ash/wm/workspace/snap_sizer.cc
|
| @@ -130,7 +130,7 @@ gfx::Rect SnapSizer::GetTargetBoundsForPercent(int percent_index) const {
|
|
|
| bool SnapSizer::AlongEdge(int x) const {
|
| // TODO: need to support multi-monitor.
|
| - gfx::Rect area(gfx::Screen::GetMonitorNearestWindow(window_).bounds());
|
| + gfx::Rect area(gfx::Screen::GetDisplayNearestWindow(window_).bounds());
|
| return (x <= area.x()) || (x >= area.right() - 1);
|
| }
|
|
|
|
|