| Index: ash/wm/gestures/two_finger_drag_handler.cc
|
| diff --git a/ash/wm/gestures/two_finger_drag_handler.cc b/ash/wm/gestures/two_finger_drag_handler.cc
|
| index 49f7ecc02dd530562bc4ea759a95a19b28e0197a..db95e4e813fc080ee86f32199f5c0ba6cdb09c46 100644
|
| --- a/ash/wm/gestures/two_finger_drag_handler.cc
|
| +++ b/ash/wm/gestures/two_finger_drag_handler.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "ash/wm/window_resizer.h"
|
| #include "ash/wm/window_util.h"
|
| -#include "ash/wm/workspace/snap_sizer.h"
|
| #include "ui/aura/client/window_types.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/aura/window_delegate.h"
|
| @@ -147,9 +146,9 @@ bool TwoFingerDragHandler::ProcessGestureEvent(aura::Window* target,
|
| target->layer()->GetAnimator());
|
| scoped_setter.SetPreemptionStrategy(
|
| ui::LayerAnimator::REPLACE_QUEUED_ANIMATIONS);
|
| - internal::SnapSizer::SnapWindow(target,
|
| - event.details().swipe_left() ? internal::SnapSizer::LEFT_EDGE :
|
| - internal::SnapSizer::RIGHT_EDGE);
|
| + wm::SnapWindowToEdge(target,
|
| + event.details().swipe_left() ? wm::SNAP_LEFT_EDGE :
|
| + wm::SNAP_RIGHT_EDGE);
|
| }
|
| return true;
|
| }
|
|
|