Index: ui/aura/test/ui_controls_factory_ozone.cc |
diff --git a/ui/aura/test/ui_controls_factory_ozone.cc b/ui/aura/test/ui_controls_factory_ozone.cc |
index a928275da3e72eaf97154b071119879c5627ecf7..bf761b0196ed5fa0979b1d729adc7d8c64985d3a 100644 |
--- a/ui/aura/test/ui_controls_factory_ozone.cc |
+++ b/ui/aura/test/ui_controls_factory_ozone.cc |
@@ -218,9 +218,10 @@ class UIControlsOzone : public ui_controls::UIControlsAura { |
const gfx::PointF& host_location, |
int flags, |
int changed_button_flags) { |
- ui::MouseEvent mouse_event(type, host_location, host_location, |
- ui::EventTimeForNow(), flags, |
- changed_button_flags); |
+ ui::MouseEvent mouse_event( |
+ type, host_location, host_location, ui::EventTimeForNow(), flags, |
+ changed_button_flags, |
+ ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE)); |
// This hack is necessary to set the repeat count for clicks. |
ui::MouseEvent mouse_event2(&mouse_event); |