Index: device/bluetooth/dbus/bluetooth_profile_service_provider.cc |
diff --git a/device/bluetooth/dbus/bluetooth_profile_service_provider.cc b/device/bluetooth/dbus/bluetooth_profile_service_provider.cc |
index 1555d512297d22094e6a628542b6bb16e28f1b71..4d2845dec2d78694a2db561757d1c9cb5003aad1 100644 |
--- a/device/bluetooth/dbus/bluetooth_profile_service_provider.cc |
+++ b/device/bluetooth/dbus/bluetooth_profile_service_provider.cc |
@@ -4,6 +4,8 @@ |
#include "device/bluetooth/dbus/bluetooth_profile_service_provider.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/logging.h" |
#include "base/macros.h" |
@@ -130,7 +132,7 @@ class BluetoothProfileServiceProviderImpl |
&BluetoothProfileServiceProviderImpl::OnConfirmation, |
weak_ptr_factory_.GetWeakPtr(), method_call, response_sender); |
- delegate_->NewConnection(device_path, fd.Pass(), options, callback); |
+ delegate_->NewConnection(device_path, std::move(fd), options, callback); |
} |
// Called by dbus:: when the Bluetooth daemon is about to disconnect the |