| Index: ui/events/gestures/motion_event_aura_unittest.cc
|
| diff --git a/ui/events/gestures/motion_event_aura_unittest.cc b/ui/events/gestures/motion_event_aura_unittest.cc
|
| index 03a8dd7fff12e6c33e151fd09ea5d2d136a0a902..486eee728541849e1e13752eeaf528ed80484e75 100644
|
| --- a/ui/events/gestures/motion_event_aura_unittest.cc
|
| +++ b/ui/events/gestures/motion_event_aura_unittest.cc
|
| @@ -25,15 +25,9 @@ ui::TouchEvent TouchWithPosition(ui::EventType type,
|
| float y,
|
| float raw_x,
|
| float raw_y) {
|
| - ui::TouchEvent event(type,
|
| - gfx::PointF(x, y),
|
| - 0,
|
| - id,
|
| - base::TimeDelta::FromMilliseconds(0),
|
| - 0,
|
| - 0,
|
| - 0,
|
| - 0);
|
| + ui::TouchEvent event(
|
| + type, gfx::PointF(x, y), 0, id, base::TimeDelta::FromMilliseconds(0), 0,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_TOUCH));
|
| event.set_root_location(gfx::PointF(raw_x, raw_y));
|
| return event;
|
| }
|
| @@ -44,15 +38,13 @@ ui::TouchEvent TouchWithTapParams(ui::EventType type,
|
| float radius_y,
|
| float rotation_angle,
|
| float pressure) {
|
| - ui::TouchEvent event(type,
|
| - gfx::PointF(1, 1),
|
| - 0,
|
| - id,
|
| - base::TimeDelta::FromMilliseconds(0),
|
| - radius_x,
|
| - radius_y,
|
| - rotation_angle,
|
| - pressure);
|
| + ui::TouchEvent event(
|
| + type, gfx::PointF(1, 1), 0, id, base::TimeDelta::FromMilliseconds(0),
|
| + rotation_angle,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_TOUCH,
|
| + radius_x, radius_y, pressure,
|
| + /* tilt_x */ 0.0f,
|
| + /* tilt_y */ 0.0f));
|
| event.set_root_location(gfx::PointF(1, 1));
|
| return event;
|
| }
|
|
|