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

Unified Diff: device/hid/device_monitor_linux.cc

Issue 1544323002: Convert Pass()→std::move() in //device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « device/devices_app/usb/type_converters.cc ('k') | device/hid/hid_connection_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « device/devices_app/usb/type_converters.cc ('k') | device/hid/hid_connection_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698