Index: device/bluetooth/test/mock_bluetooth_device.cc |
diff --git a/device/bluetooth/test/mock_bluetooth_device.cc b/device/bluetooth/test/mock_bluetooth_device.cc |
index 230badaa549abb2dfe9308923472087535f563a8..973b62ad592dac92190ba7e7b4a87a12600547d0 100644 |
--- a/device/bluetooth/test/mock_bluetooth_device.cc |
+++ b/device/bluetooth/test/mock_bluetooth_device.cc |
@@ -4,6 +4,8 @@ |
#include "device/bluetooth/test/mock_bluetooth_device.h" |
+#include <utility> |
+ |
#include "base/strings/utf_string_conversions.h" |
#include "device/bluetooth/bluetooth_gatt_service.h" |
#include "device/bluetooth/test/mock_bluetooth_adapter.h" |
@@ -62,7 +64,7 @@ MockBluetoothDevice::~MockBluetoothDevice() {} |
void MockBluetoothDevice::AddMockService( |
scoped_ptr<MockBluetoothGattService> mock_service) { |
- mock_services_.push_back(mock_service.Pass()); |
+ mock_services_.push_back(std::move(mock_service)); |
} |
std::vector<BluetoothGattService*> MockBluetoothDevice::GetMockServices() |