summaryrefslogtreecommitdiffstats
path: root/device/hid/device_monitor_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device/hid/device_monitor_linux.cc')
-rw-r--r--device/hid/device_monitor_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/hid/device_monitor_linux.cc b/device/hid/device_monitor_linux.cc
index 5dffc85..da78ca5 100644
--- a/device/hid/device_monitor_linux.cc
+++ b/device/hid/device_monitor_linux.cc
@@ -89,7 +89,7 @@ ScopedUdevDevicePtr DeviceMonitorLinux::GetDeviceFromPath(
DCHECK(thread_checker_.CalledOnValidThread());
ScopedUdevDevicePtr device(
udev_device_new_from_syspath(udev_.get(), path.c_str()));
- return device.Pass();
+ return device;
}
void DeviceMonitorLinux::Enumerate(const EnumerateCallback& callback) {