Index: ui/events/ozone/evdev/gamepad_event_converter_evdev.h |
diff --git a/ui/events/ozone/evdev/gamepad_event_converter_evdev.h b/ui/events/ozone/evdev/gamepad_event_converter_evdev.h |
index d1f233adefa2992177f6cf2905427e169a60fccf..cb10ab686f02f19f58491a2dde44d3dcb9b371eb 100644 |
--- a/ui/events/ozone/evdev/gamepad_event_converter_evdev.h |
+++ b/ui/events/ozone/evdev/gamepad_event_converter_evdev.h |
@@ -107,7 +107,7 @@ class EVENTS_OZONE_EVDEV_EXPORT GamepadEventConverterEvdev |
bool last_hat_up_press_; |
bool last_hat_down_press_; |
- GamepadMapper mapper_; |
+ std::unique_ptr<GamepadMapper> mapper_; |
// Input device file descriptor. |
ScopedInputDevice input_device_fd_; |