Index: components/mus/view_tree_unittest.cc |
diff --git a/components/mus/view_tree_unittest.cc b/components/mus/view_tree_unittest.cc |
index 4dc34be2f9cffaae86e86bc6191df2c591b40b3f..f1f86cd0c94132906c22d4c830c4caffd820b7e0 100644 |
--- a/components/mus/view_tree_unittest.cc |
+++ b/components/mus/view_tree_unittest.cc |
@@ -249,8 +249,8 @@ |
event->action = mojo::EVENT_TYPE_POINTER_DOWN; |
event->pointer_data = mojo::PointerData::New(); |
event->pointer_data->pointer_id = 1u; |
- event->pointer_data->location->x = x; |
- event->pointer_data->location->y = y; |
+ event->pointer_data->x = x; |
+ event->pointer_data->y = y; |
return event.Pass(); |
} |
@@ -259,8 +259,8 @@ |
event->action = mojo::EVENT_TYPE_POINTER_UP; |
event->pointer_data = mojo::PointerData::New(); |
event->pointer_data->pointer_id = 1u; |
- event->pointer_data->location->x = x; |
- event->pointer_data->location->y = y; |
+ event->pointer_data->x = x; |
+ event->pointer_data->y = y; |
return event.Pass(); |
} |