| 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 2502219f27ebd0061e12c19be51d53ec637d262c..8cdf5246b9a993a3a320a11d9f1df47f0a1b015e 100644
|
| --- a/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
|
| +++ b/ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
|
| @@ -18,6 +18,7 @@ const float kTouchY = 14.2f;
|
| GestureEventData CreateGesture(EventType type) {
|
| return GestureEventData(GestureEventDetails(type, 0, 0),
|
| 0,
|
| + MotionEvent::TOOL_TYPE_FINGER,
|
| base::TimeTicks(),
|
| kTouchX,
|
| kTouchY,
|
| @@ -31,9 +32,10 @@ GestureEventData CreateGesture(EventType type) {
|
|
|
| bool GestureEquals(const GestureEventData& lhs, const GestureEventData& rhs) {
|
| return lhs.type() == rhs.type() &&
|
| - lhs.motion_event_id == rhs.motion_event_id && 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.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;
|
| }
|
|
|
| bool PacketEquals(const GestureEventDataPacket& lhs,
|
|
|