Index: components/mus/gesture_manager_unittest.cc |
diff --git a/components/mus/gesture_manager_unittest.cc b/components/mus/gesture_manager_unittest.cc |
index 9ed02a8096f9bbd3f56c40e54616e6940a15a250..25b1cad0269561f938a82c984dd40c782100e0b6 100644 |
--- a/components/mus/gesture_manager_unittest.cc |
+++ b/components/mus/gesture_manager_unittest.cc |
@@ -68,8 +68,8 @@ mojo::EventPtr CreateEvent(mojo::EventType type, |
event->action = type; |
event->pointer_data = mojo::PointerData::New(); |
event->pointer_data->pointer_id = pointer_id; |
- event->pointer_data->x = x; |
- event->pointer_data->y = y; |
+ event->pointer_data->location->x = x; |
+ event->pointer_data->location->y = y; |
return event.Pass(); |
} |