Index: ui/views/touchui/touch_selection_controller_impl_unittest.cc |
diff --git a/ui/views/touchui/touch_selection_controller_impl_unittest.cc b/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
index 15163a221c93c021afaa1fe3c6a07ebc67da246e..78a8236dfc0e74bbc3c91a1289b2ef1d7e0aa6e8 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
@@ -78,6 +78,9 @@ class TouchSelectionControllerImplTest : public ViewsTestBase { |
else |
controller->SetDraggingHandle(controller->selection_handle_2_.get()); |
+ // Offset the drag position by the selection handle radius since it is |
+ // supposed to be in the coordinate system of the handle. |
+ p.Offset(10, 0); |
controller->SelectionHandleDragged(p); |
// Do the work of OnMouseReleased(). |