Index: content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc |
diff --git a/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc b/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc |
index 9369bfdfdc8c35149c6fdf55a9932e8e7d86eee9..27263df149bed296c402d8eb80250ae25fd56f50 100644 |
--- a/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc |
+++ b/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc |
@@ -1474,7 +1474,8 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) { |
gfx::PointF position(54, 89); |
scoped_ptr<SyntheticPointerAction> gesture(new SyntheticPointerAction( |
- SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::PRESS, |
+ SyntheticGestureParams::TOUCH_INPUT, |
+ SyntheticPointerActionParams::PointerActionType::PRESS, |
&synthetic_pointer, position)); |
QueueSyntheticGesture(std::move(gesture)); |
FlushInputUntilComplete(); |
@@ -1487,9 +1488,10 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) { |
ASSERT_EQ(pointer_touch_target->touch_length(), 1U); |
position.SetPoint(79, 132); |
- gesture.reset(new SyntheticPointerAction(SyntheticGestureParams::TOUCH_INPUT, |
- SyntheticGesture::PRESS, |
- &synthetic_pointer, position)); |
+ gesture.reset(new SyntheticPointerAction( |
+ SyntheticGestureParams::TOUCH_INPUT, |
+ SyntheticPointerActionParams::PointerActionType::PRESS, |
+ &synthetic_pointer, position)); |
QueueSyntheticGesture(std::move(gesture)); |
FlushInputUntilComplete(); |
@@ -1504,8 +1506,9 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) { |
int index = 1; |
position.SetPoint(133, 156); |
gesture.reset(new SyntheticPointerAction( |
- SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::MOVE, |
- &synthetic_pointer, position, index)); |
+ SyntheticGestureParams::TOUCH_INPUT, |
+ SyntheticPointerActionParams::PointerActionType::MOVE, &synthetic_pointer, |
+ position, index)); |
QueueSyntheticGesture(std::move(gesture)); |
FlushInputUntilComplete(); |
@@ -1517,7 +1520,8 @@ TEST_F(SyntheticGestureControllerTest, PointerTouchAction) { |
ASSERT_EQ(pointer_touch_target->touch_length(), 2U); |
gesture.reset(new SyntheticPointerAction( |
- SyntheticGestureParams::TOUCH_INPUT, SyntheticGesture::RELEASE, |
+ SyntheticGestureParams::TOUCH_INPUT, |
+ SyntheticPointerActionParams::PointerActionType::RELEASE, |
&synthetic_pointer, position, index)); |
QueueSyntheticGesture(std::move(gesture)); |
FlushInputUntilComplete(); |