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

Unified Diff: ui/events/mojo/event_struct_traits.cc

Issue 2647253002: Add tangentialPressure and twist properties to PointerEvent on Windows (Closed)
Patch Set: rotation Created 3 years, 11 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
Index: ui/events/mojo/event_struct_traits.cc
diff --git a/ui/events/mojo/event_struct_traits.cc b/ui/events/mojo/event_struct_traits.cc
index f57359b67b4391ede9f99f182e432fdd25928c8f..9e94015d283c8bb1bfb9b4ab229d13d1862a11ce 100644
--- a/ui/events/mojo/event_struct_traits.cc
+++ b/ui/events/mojo/event_struct_traits.cc
@@ -295,7 +295,7 @@ bool StructTraits<ui::mojom::EventDataView, EventUniquePtr>::Read(
pointer_data->brush_data->height,
pointer_data->brush_data->pressure,
pointer_data->brush_data->tilt_x,
- pointer_data->brush_data->tilt_y),
+ pointer_data->brush_data->tilt_y, 0.0f, 0),
ui::EventTimeForNow()));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698