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

Unified Diff: device/bluetooth/bluetooth_adapter_profile_bluez.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/bluetooth/bluetooth_adapter_bluez.cc ('k') | device/bluetooth/bluetooth_adapter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter_profile_bluez.cc
diff --git a/device/bluetooth/bluetooth_adapter_profile_bluez.cc b/device/bluetooth/bluetooth_adapter_profile_bluez.cc
index 845002bf655aa00f8af84f6efdab48636e931d8a..86b93c62e61f03706413ce32d2e25680ef50d734 100644
--- a/device/bluetooth/bluetooth_adapter_profile_bluez.cc
+++ b/device/bluetooth/bluetooth_adapter_profile_bluez.cc
@@ -5,6 +5,7 @@
#include "device/bluetooth/bluetooth_adapter_profile_bluez.h"
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/logging.h"
@@ -125,7 +126,7 @@ void BluetoothAdapterProfileBlueZ::NewConnection(
return;
}
- delegates_[delegate_path.value()]->NewConnection(device_path, fd.Pass(),
+ delegates_[delegate_path.value()]->NewConnection(device_path, std::move(fd),
options, callback);
}
« no previous file with comments | « device/bluetooth/bluetooth_adapter_bluez.cc ('k') | device/bluetooth/bluetooth_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698