summaryrefslogtreecommitdiffstats
path: root/ash/wm/drag_window_resizer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/drag_window_resizer.cc')
-rw-r--r--ash/wm/drag_window_resizer.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/ash/wm/drag_window_resizer.cc b/ash/wm/drag_window_resizer.cc
index 835b204..2a859cf 100644
--- a/ash/wm/drag_window_resizer.cc
+++ b/ash/wm/drag_window_resizer.cc
@@ -13,7 +13,6 @@
#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"
@@ -150,9 +149,6 @@ void DragWindowResizer::CompleteDrag() {
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);
}
}