| Index: services/ui/ws/event_dispatcher_unittest.cc
|
| diff --git a/services/ui/ws/event_dispatcher_unittest.cc b/services/ui/ws/event_dispatcher_unittest.cc
|
| index 5e059270eade0ffd818bcdecf53f073ac47c0861..7d35a153f38a8927be6cf8325d8b2fcbf021af1d 100644
|
| --- a/services/ui/ws/event_dispatcher_unittest.cc
|
| +++ b/services/ui/ws/event_dispatcher_unittest.cc
|
| @@ -1308,7 +1308,7 @@ TEST_F(EventDispatcherTest, ProcessPointerEvents) {
|
| }
|
|
|
| {
|
| - const int touch_id = 3;
|
| + const uint32_t touch_id = 3U;
|
| const ui::PointerEvent pointer_event(
|
| ui::TouchEvent(ui::ET_TOUCH_RELEASED, gfx::Point(25, 20), touch_id,
|
| base::TimeTicks()));
|
| @@ -1326,7 +1326,7 @@ TEST_F(EventDispatcherTest, ProcessPointerEvents) {
|
| ui::PointerEvent* dispatched_event = details->event->AsPointerEvent();
|
| EXPECT_EQ(gfx::Point(25, 20), dispatched_event->root_location());
|
| EXPECT_EQ(gfx::Point(15, 10), dispatched_event->location());
|
| - EXPECT_EQ(touch_id, dispatched_event->pointer_id());
|
| + EXPECT_EQ(touch_id, dispatched_event->pointer_details().id);
|
| }
|
| }
|
|
|
|
|