Index: device/bluetooth/bluetooth_device_bluez.cc |
diff --git a/device/bluetooth/bluetooth_device_bluez.cc b/device/bluetooth/bluetooth_device_bluez.cc |
index 97ba1d75e6fd0f41828687507128be69fc0b9f12..4ae3ddea557dbae7339bfad401cc470088ccb856 100644 |
--- a/device/bluetooth/bluetooth_device_bluez.cc |
+++ b/device/bluetooth/bluetooth_device_bluez.cc |
@@ -5,6 +5,7 @@ |
#include "device/bluetooth/bluetooth_device_bluez.h" |
#include <stdio.h> |
+#include <utility> |
#include "base/bind.h" |
#include "base/memory/scoped_ptr.h" |
@@ -636,7 +637,7 @@ void BluetoothDeviceBlueZ::OnCreateGattConnection( |
const GattConnectionCallback& callback) { |
scoped_ptr<device::BluetoothGattConnection> conn( |
new BluetoothGattConnectionBlueZ(adapter_, GetAddress(), object_path_)); |
- callback.Run(conn.Pass()); |
+ callback.Run(std::move(conn)); |
} |
void BluetoothDeviceBlueZ::OnConnectError( |