Index: ui/events/ozone/evdev/input_injector_evdev.cc |
diff --git a/ui/events/ozone/evdev/input_injector_evdev.cc b/ui/events/ozone/evdev/input_injector_evdev.cc |
index 0e5d1dba16ce91fb4ab67cf0306eff0a769002f1..233575fdd6deee1282a8b9ec23d86c37106de161 100644 |
--- a/ui/events/ozone/evdev/input_injector_evdev.cc |
+++ b/ui/events/ozone/evdev/input_injector_evdev.cc |
@@ -48,7 +48,7 @@ void InputInjectorEvdev::InjectMouseButton(EventFlags button, bool down) { |
} |
dispatcher_->DispatchMouseButtonEvent(MouseButtonEventParams( |
- kDeviceIdForInjection, cursor_->GetLocation(), code, down, |
+ kDeviceIdForInjection, EF_NONE, cursor_->GetLocation(), code, down, |
false /* allow_remap */, |
PointerDetails(EventPointerType::POINTER_TYPE_MOUSE), EventTimeForNow())); |
} |
@@ -66,7 +66,7 @@ void InputInjectorEvdev::MoveCursorTo(const gfx::PointF& location) { |
cursor_->MoveCursorTo(location); |
dispatcher_->DispatchMouseMoveEvent(MouseMoveEventParams( |
- kDeviceIdForInjection, cursor_->GetLocation(), |
+ kDeviceIdForInjection, EF_NONE, cursor_->GetLocation(), |
PointerDetails(EventPointerType::POINTER_TYPE_MOUSE), EventTimeForNow())); |
} |