Index: ui/touch_selection/touch_handle_unittest.cc |
diff --git a/ui/touch_selection/touch_handle_unittest.cc b/ui/touch_selection/touch_handle_unittest.cc |
index e86c3d3881b245953f17aa8621166e934718b1dc..dedd85d51f2a5ced7a287a22f6a3a168feb7ccf0 100644 |
--- a/ui/touch_selection/touch_handle_unittest.cc |
+++ b/ui/touch_selection/touch_handle_unittest.cc |
@@ -74,17 +74,18 @@ class TouchHandleTest : public testing::Test, public TouchHandleClient { |
~TouchHandleTest() override {} |
// TouchHandleClient implementation. |
- void OnHandleDragBegin(const TouchHandle& handle) override { |
+ void OnDragBegin(const TouchSelectionDraggable& handler, |
+ const gfx::PointF& drag_position) override { |
dragging_ = true; |
} |
- void OnHandleDragUpdate(const TouchHandle& handle, |
- const gfx::PointF& new_position) override { |
+ void OnDragUpdate(const TouchSelectionDraggable& handler, |
+ const gfx::PointF& drag_position) override { |
dragged_ = true; |
- drag_position_ = new_position; |
+ drag_position_ = drag_position; |
} |
- void OnHandleDragEnd(const TouchHandle& handle) override { |
+ void OnDragEnd(const TouchSelectionDraggable& handler) override { |
dragging_ = false; |
} |