Index: ui/events/ozone/evdev/input_device_factory_evdev.cc |
diff --git a/ui/events/ozone/evdev/input_device_factory_evdev.cc b/ui/events/ozone/evdev/input_device_factory_evdev.cc |
index b095db01e656de1399810427614f6119569e37ea..192ecc2282eefa354be47de92884b8f346bcc89f 100644 |
--- a/ui/events/ozone/evdev/input_device_factory_evdev.cc |
+++ b/ui/events/ozone/evdev/input_device_factory_evdev.cc |
@@ -338,6 +338,10 @@ void InputDeviceFactoryEvdev::SetTapToClickPaused(bool state) { |
SetBoolPropertyForOneType(DT_TOUCHPAD, "Tap Paused", state); |
} |
+base::WeakPtr<InputDeviceFactoryEvdev> InputDeviceFactoryEvdev::GetWeakPtr() { |
+ return weak_ptr_factory_.GetWeakPtr(); |
+} |
+ |
void InputDeviceFactoryEvdev::NotifyDeviceChange( |
const EventConverterEvdev& converter) { |
if (converter.HasTouchscreen()) |