Index: ui/events/ozone/evdev/event_factory_evdev.cc |
diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc |
index 78d54daaae32f2d3a1889cbdd9318ca553e242e1..3ae161ff507cabc034629f6e81f0ff818447ec3f 100644 |
--- a/ui/events/ozone/evdev/event_factory_evdev.cc |
+++ b/ui/events/ozone/evdev/event_factory_evdev.cc |
@@ -157,8 +157,8 @@ void EventFactoryEvdev::DispatchTouchEvent(const TouchEventParams& params) { |
&radius_y); |
scoped_ptr<TouchEvent> touch_event(new TouchEvent( |
- params.type, gfx::PointF(x, y), |
- /* flags */ 0, params.touch_id, params.timestamp, radius_x, radius_y, |
+ params.type, gfx::PointF(x, y), modifiers_.GetModifierFlags(), |
+ params.touch_id, params.timestamp, radius_x, radius_y, |
/* angle */ 0., params.pressure)); |
touch_event->set_source_device_id(params.device_id); |
PostUiEvent(touch_event.Pass()); |