| Index: ash/wm/drag_window_resizer.cc
|
| diff --git a/ash/wm/drag_window_resizer.cc b/ash/wm/drag_window_resizer.cc
|
| index fd8f8cb8142a16f48e473c3aa2827c5f478d2a2e..639a5d104582e2d5b74a9dc443f8bdd0f97ad66d 100644
|
| --- a/ash/wm/drag_window_resizer.cc
|
| +++ b/ash/wm/drag_window_resizer.cc
|
| @@ -40,9 +40,8 @@ DragWindowResizer::~DragWindowResizer() {
|
| }
|
|
|
| // static
|
| -DragWindowResizer* DragWindowResizer::Create(
|
| - WindowResizer* next_window_resizer,
|
| - wm::WindowState* window_state) {
|
| +DragWindowResizer* DragWindowResizer::Create(WindowResizer* next_window_resizer,
|
| + wm::WindowState* window_state) {
|
| return new DragWindowResizer(next_window_resizer, window_state);
|
| }
|
|
|
| @@ -100,11 +99,11 @@ void DragWindowResizer::CompleteDrag() {
|
| if (last_mouse_location_in_screen.x() < dst_bounds.x())
|
| dst_bounds.set_x(last_mouse_location_in_screen.x());
|
| else if (last_mouse_location_in_screen.x() > dst_bounds.right())
|
| - dst_bounds.set_x(
|
| - last_mouse_location_in_screen.x() - dst_bounds.width());
|
| + dst_bounds.set_x(last_mouse_location_in_screen.x() -
|
| + dst_bounds.width());
|
| }
|
| - ash::wm::AdjustBoundsToEnsureMinimumWindowVisibility(
|
| - dst_display.bounds(), &dst_bounds);
|
| + ash::wm::AdjustBoundsToEnsureMinimumWindowVisibility(dst_display.bounds(),
|
| + &dst_bounds);
|
|
|
| GetAuraTarget()->SetBoundsInScreen(dst_bounds, dst_display);
|
| }
|
|
|