Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1071)

Unified Diff: ui/events/ozone/evdev/event_converter_evdev.cc

Issue 2695593009: Use the location where FileDescriptorWatcher is created to track the libevent handlers (Closed)
Patch Set: fix mac. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/ozone/evdev/event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/event_converter_evdev.cc b/ui/events/ozone/evdev/event_converter_evdev.cc
index e9da81978f9dcc739ba29b7dbe00a64cc1b02d1a..9ce8d600cddfa73c9ab61bc08a1d74d5a3b9cf9f 100644
--- a/ui/events/ozone/evdev/event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev.cc
@@ -28,8 +28,13 @@ EventConverterEvdev::EventConverterEvdev(int fd,
uint16_t product_id)
: fd_(fd),
path_(path),
- input_device_(id, type, name, GetInputPathInSys(path), vendor_id,
- product_id) {}
+ input_device_(id,
+ type,
+ name,
+ GetInputPathInSys(path),
+ vendor_id,
+ product_id),
+ controller_(FROM_HERE) {}
EventConverterEvdev::~EventConverterEvdev() {
DCHECK(!enabled_);
« no previous file with comments | « ui/events/ozone/device/udev/device_manager_udev.cc ('k') | ui/events/ozone/evdev/event_converter_evdev_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698