Index: device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc |
diff --git a/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc |
index 10895018af53c2af6ad129375b5de7542c28e26d..905a3af04566ffe15c1d271099542786cb33a776 100644 |
--- a/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc |
+++ b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc |
@@ -4,6 +4,8 @@ |
#include "device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h" |
+#include <utility> |
+ |
#include "device/bluetooth/dbus/bluez_dbus_manager.h" |
#include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h" |
@@ -42,7 +44,7 @@ void FakeBluetoothProfileServiceProvider::NewConnection( |
const Delegate::ConfirmationCallback& callback) { |
VLOG(1) << object_path_.value() << ": NewConnection for " |
<< device_path.value(); |
- delegate_->NewConnection(device_path, fd.Pass(), options, callback); |
+ delegate_->NewConnection(device_path, std::move(fd), options, callback); |
} |
void FakeBluetoothProfileServiceProvider::RequestDisconnection( |