Index: ui/events/gesture_detection/motion_event_buffer_unittest.cc |
diff --git a/ui/events/gesture_detection/motion_event_buffer_unittest.cc b/ui/events/gesture_detection/motion_event_buffer_unittest.cc |
index badbd9883f460155fcac2c355bc721d14e8e24ae..594862c5f76b19009c8a0638512333f4ea8b6195 100644 |
--- a/ui/events/gesture_detection/motion_event_buffer_unittest.cc |
+++ b/ui/events/gesture_detection/motion_event_buffer_unittest.cc |
@@ -344,9 +344,9 @@ TEST_F(MotionEventBufferTest, BufferFlushedOnIncompatibleActionMove) { |
event_time += base::TimeDelta::FromMilliseconds(5); |
// Events with different pointer ids should not combine. |
- PointerProperties pointer0(5.f, 5.f); |
+ PointerProperties pointer0(5.f, 5.f, 1.f); |
pointer0.id = 1; |
- PointerProperties pointer1(10.f, 10.f); |
+ PointerProperties pointer1(10.f, 10.f, 2.f); |
pointer1.id = 2; |
MotionEventGeneric move3(MotionEvent::ACTION_MOVE, event_time, pointer0); |
move3.PushPointer(pointer1); |
@@ -407,9 +407,9 @@ TEST_F(MotionEventBufferTest, OutOfOrderPointersBuffered) { |
base::TimeTicks event_time = base::TimeTicks::Now(); |
MotionEventBuffer buffer(this, true); |
- PointerProperties p0(1.f, 2.f); |
+ PointerProperties p0(1.f, 2.f, 3.f); |
p0.id = 1; |
- PointerProperties p1(2.f, 1.f); |
+ PointerProperties p1(2.f, 1.f, 0.5f); |
p1.id = 2; |
MotionEventGeneric move0(MotionEvent::ACTION_MOVE, event_time, p0); |