Index: ash/wm/gestures/system_pinch_handler.cc |
diff --git a/ash/wm/gestures/system_pinch_handler.cc b/ash/wm/gestures/system_pinch_handler.cc |
index b0ee683c3cf9fb5da1290b5b128dd1abe56fbbc2..d974addc6ba1fd2669a03a60fca1c96704242a5f 100644 |
--- a/ash/wm/gestures/system_pinch_handler.cc |
+++ b/ash/wm/gestures/system_pinch_handler.cc |
@@ -95,8 +95,7 @@ SystemGestureStatus SystemPinchHandler::ProcessGestureEvent( |
SnapSizer sizer(target_, |
gfx::Point(), |
event.details().swipe_left() ? internal::SnapSizer::LEFT_EDGE : |
- internal::SnapSizer::RIGHT_EDGE, |
- Shell::GetInstance()->GetGridSize()); |
+ internal::SnapSizer::RIGHT_EDGE); |
target_->SetBounds(sizer.GetSnapBounds(target_->bounds())); |
} else if (event.details().swipe_up()) { |
if (!wm::IsWindowMaximized(target_) && |