| Index: ui/events/gestures/motion_event_aura.cc
|
| diff --git a/ui/events/gestures/motion_event_aura.cc b/ui/events/gestures/motion_event_aura.cc
|
| index 01df3f6042620f5dd945e786f91d93affda7a1db..c6a8f717aa63d01a6c0e5d5fae1cfd10ec40b929 100644
|
| --- a/ui/events/gestures/motion_event_aura.cc
|
| +++ b/ui/events/gestures/motion_event_aura.cc
|
| @@ -47,11 +47,11 @@ PointerProperties GetPointerPropertiesFromTouchEvent(const TouchEvent& touch) {
|
| // cases but always seem to be set to zero) unchanged.
|
| pointer_properties.touch_major = 2.f * radius_x;
|
| pointer_properties.touch_minor = 2.f * radius_y;
|
| - pointer_properties.orientation = rotation_angle_rad - M_PI_2;
|
| + pointer_properties.touch_orientation = rotation_angle_rad - M_PI_2;
|
| } else {
|
| pointer_properties.touch_major = 2.f * radius_y;
|
| pointer_properties.touch_minor = 2.f * radius_x;
|
| - pointer_properties.orientation = rotation_angle_rad;
|
| + pointer_properties.touch_orientation = rotation_angle_rad;
|
| }
|
|
|
| if (!pointer_properties.touch_major) {
|
| @@ -59,7 +59,7 @@ PointerProperties GetPointerPropertiesFromTouchEvent(const TouchEvent& touch) {
|
| 2.f * GestureConfiguration::GetInstance()->default_radius();
|
| pointer_properties.touch_minor =
|
| 2.f * GestureConfiguration::GetInstance()->default_radius();
|
| - pointer_properties.orientation = 0;
|
| + pointer_properties.touch_orientation = 0;
|
| }
|
|
|
| // TODO(jdduke): Plumb tool type from the platform, crbug.com/404128.
|
|
|