Index: device/bluetooth/bluetooth_gatt_bluez_unittest.cc |
diff --git a/device/bluetooth/bluetooth_gatt_bluez_unittest.cc b/device/bluetooth/bluetooth_gatt_bluez_unittest.cc |
index 7dcfe2704f187e99dc9771cf8dfd8e7bd72181f4..575c867b2f56ebccf49aba049ce136f1f0aacba6 100644 |
--- a/device/bluetooth/bluetooth_gatt_bluez_unittest.cc |
+++ b/device/bluetooth/bluetooth_gatt_bluez_unittest.cc |
@@ -4,6 +4,7 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <utility> |
#include "base/memory/scoped_vector.h" |
#include "base/message_loop/message_loop.h" |
@@ -138,7 +139,7 @@ class BluetoothGattBlueZTest : public testing::Test { |
void GattConnectionCallback(scoped_ptr<BluetoothGattConnection> conn) { |
++success_callback_count_; |
- gatt_conn_ = conn.Pass(); |
+ gatt_conn_ = std::move(conn); |
} |
void NotifySessionCallback(scoped_ptr<BluetoothGattNotifySession> session) { |