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

Unified Diff: ui/events/ozone/device/udev/device_manager_udev.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
« no previous file with comments | « net/socket/udp_socket_posix.cc ('k') | ui/events/ozone/evdev/event_converter_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/device/udev/device_manager_udev.cc
diff --git a/ui/events/ozone/device/udev/device_manager_udev.cc b/ui/events/ozone/device/udev/device_manager_udev.cc
index 2f8ee265653b98c012857fe162c501768801ef35..bc89145783b715398f6d17397906a3f83b35abf5 100644
--- a/ui/events/ozone/device/udev/device_manager_udev.cc
+++ b/ui/events/ozone/device/udev/device_manager_udev.cc
@@ -82,8 +82,8 @@ device::ScopedUdevMonitorPtr UdevCreateMonitor(struct udev* udev) {
} // namespace
-DeviceManagerUdev::DeviceManagerUdev() : udev_(UdevCreate()) {
-}
+DeviceManagerUdev::DeviceManagerUdev()
+ : udev_(UdevCreate()), controller_(FROM_HERE) {}
DeviceManagerUdev::~DeviceManagerUdev() {
}
« no previous file with comments | « net/socket/udp_socket_posix.cc ('k') | ui/events/ozone/evdev/event_converter_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698