Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Unified Diff: components/mus/gesture_manager_unittest.cc

Issue 1313353010: Overhaul Mandoline event transport code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed gn check Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/gesture_manager.cc ('k') | components/mus/view_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « components/mus/gesture_manager.cc ('k') | components/mus/view_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698