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

Unified Diff: components/mus/view_tree_unittest.cc

Issue 1344223002: Revert of Overhaul Mandoline event transport code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_unittest.cc ('k') | components/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « components/mus/gesture_manager_unittest.cc ('k') | components/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698