| Index: ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
|
| diff --git a/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc b/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
|
| index 76f61726a69446d58af7e8a4d142ac1c213e32e4..694ac0004b63a6c2ea706a1ae43cf732f61e1790 100644
|
| --- a/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
|
| +++ b/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
|
| @@ -15,6 +15,7 @@ namespace {
|
|
|
| const float kTouchX = 13.7f;
|
| const float kTouchY = 14.2f;
|
| +const uint32_t uniqueTouchEventId = 1234U;
|
|
|
| GestureEventData CreateGesture(EventType type) {
|
| return GestureEventData(GestureEventDetails(type),
|
| @@ -27,7 +28,8 @@ GestureEventData CreateGesture(EventType type) {
|
| kTouchY + 10.f,
|
| 1,
|
| gfx::RectF(kTouchX - 1.f, kTouchY - 1.f, 2.f, 2.f),
|
| - EF_NONE);
|
| + EF_NONE,
|
| + uniqueTouchEventId);
|
| }
|
|
|
| } // namespace
|
| @@ -37,7 +39,8 @@ bool GestureEquals(const GestureEventData& lhs, const GestureEventData& rhs) {
|
| lhs.motion_event_id == rhs.motion_event_id &&
|
| lhs.primary_tool_type == rhs.primary_tool_type &&
|
| lhs.time == rhs.time && lhs.x == rhs.x && lhs.y == rhs.y &&
|
| - lhs.raw_x == rhs.raw_x && lhs.raw_y == rhs.raw_y;
|
| + lhs.raw_x == rhs.raw_x && lhs.raw_y == rhs.raw_y &&
|
| + lhs.unique_touch_event_id == rhs.unique_touch_event_id;
|
| }
|
|
|
| bool PacketEquals(const GestureEventDataPacket& lhs,
|
|
|