| Index: ash/common/wm/workspace/workspace_window_resizer.cc
|
| diff --git a/ash/common/wm/workspace/workspace_window_resizer.cc b/ash/common/wm/workspace/workspace_window_resizer.cc
|
| index 8dd745fba8b7834f6a9d4526f939dd71ce6a5fa2..e17da97b19f8ebb7c047424ef047b9a8578ccc65 100644
|
| --- a/ash/common/wm/workspace/workspace_window_resizer.cc
|
| +++ b/ash/common/wm/workspace/workspace_window_resizer.cc
|
| @@ -439,12 +439,8 @@ void WorkspaceWindowResizer::CompleteDrag() {
|
| GetTarget()->GetBounds())) {
|
| // Set the window to WINDOW_STATE_TYPE_NORMAL but keep the
|
| // window at the bounds that the user has moved/resized the
|
| - // window to. ClearRestoreBounds() is used instead of
|
| - // SaveCurrentBoundsForRestore() because most of the restore
|
| - // logic is skipped because we are still in the middle of a
|
| - // drag. TODO(pkotwicz): Fix this and use
|
| - // SaveCurrentBoundsForRestore().
|
| - window_state()->ClearRestoreBounds();
|
| + // window to.
|
| + window_state()->SaveCurrentBoundsForRestore();
|
| window_state()->Restore();
|
| }
|
| } else if (!dock_layout_->is_dragged_window_docked()) {
|
|
|