| Index: ash/wm/drag_window_resizer.cc
|
| diff --git a/ash/wm/drag_window_resizer.cc b/ash/wm/drag_window_resizer.cc
|
| index a524d672181037413c934f859d7799d0526d4888..4b4c62838e07ac44690c9b66e6a9102254456686 100644
|
| --- a/ash/wm/drag_window_resizer.cc
|
| +++ b/ash/wm/drag_window_resizer.cc
|
| @@ -13,6 +13,7 @@
|
| #include "ash/wm/coordinate_conversion.h"
|
| #include "ash/wm/drag_window_controller.h"
|
| #include "ash/wm/window_state.h"
|
| +#include "ash/wm/window_util.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| #include "ui/aura/env.h"
|
| @@ -148,6 +149,9 @@ void DragWindowResizer::CompleteDrag(int event_flags) {
|
| dst_bounds.set_x(
|
| last_mouse_location_in_screen.x() - dst_bounds.width());
|
| }
|
| + ash::wm::AdjustBoundsToEnsureMinimumWindowVisibility(
|
| + dst_display.bounds(), &dst_bounds);
|
| +
|
| GetTarget()->SetBoundsInScreen(dst_bounds, dst_display);
|
| }
|
| }
|
|
|