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); |
} |