| Index: ui/touch_selection/touch_selection_controller_unittest.cc
|
| diff --git a/ui/touch_selection/touch_selection_controller_unittest.cc b/ui/touch_selection/touch_selection_controller_unittest.cc
|
| index 6a22b0e9f02d71b3b2c4f6634595a0edccb58ab4..46c2f4f9cd1481aec32ecef38cea46a99522b079 100644
|
| --- a/ui/touch_selection/touch_selection_controller_unittest.cc
|
| +++ b/ui/touch_selection/touch_selection_controller_unittest.cc
|
| @@ -946,6 +946,9 @@ TEST_F(TouchSelectionControllerTest, AllowShowingFromCurrentSelection) {
|
| ChangeSelection(start_rect, visible, end_rect, visible);
|
| EXPECT_EQ(gfx::PointF(), GetLastEventStart());
|
|
|
| + // A longpress should have no immediate effect.
|
| + controller().OnLongPressEvent();
|
| +
|
| // Now explicitly allow showing from the previously supplied bounds.
|
| controller().AllowShowingFromCurrentSelection();
|
| EXPECT_THAT(GetAndResetEvents(), ElementsAre(SELECTION_SHOWN));
|
|
|