| Index: ash/wm/workspace/workspace_window_resizer.cc
|
| diff --git a/ash/wm/workspace/workspace_window_resizer.cc b/ash/wm/workspace/workspace_window_resizer.cc
|
| index eda27a49ffe996678e1bd012d82c7d571eef7948..a717314f4a67ad47b326242e11f4928043fecc5e 100644
|
| --- a/ash/wm/workspace/workspace_window_resizer.cc
|
| +++ b/ash/wm/workspace/workspace_window_resizer.cc
|
| @@ -754,6 +754,9 @@ void WorkspaceWindowResizer::UpdateSnapPhantomWindow(const gfx::Point& location,
|
| if (!did_move_or_resize_ || details_.window_component != HTCAPTION)
|
| return;
|
|
|
| + if (!wm::CanSnapWindow(window()))
|
| + return;
|
| +
|
| SnapType last_type = snap_type_;
|
| snap_type_ = GetSnapType(location);
|
| if (snap_type_ == SNAP_NONE || snap_type_ != last_type) {
|
|
|