Index: device/hid/device_monitor_linux.cc |
diff --git a/device/hid/device_monitor_linux.cc b/device/hid/device_monitor_linux.cc |
index 5dffc85e061051d24322bc6b823c120e035f257a..da78ca5be60e8dea1bbef4f7946402be64b2642b 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) { |