Index: device/bluetooth/test/mock_bluetooth_adapter.cc |
diff --git a/device/bluetooth/test/mock_bluetooth_adapter.cc b/device/bluetooth/test/mock_bluetooth_adapter.cc |
index f2d7b2a8172af9327bc703dd02d726a76c29f204..697273227cd40b69ac9837bf739932ecd790ff3e 100644 |
--- a/device/bluetooth/test/mock_bluetooth_adapter.cc |
+++ b/device/bluetooth/test/mock_bluetooth_adapter.cc |
@@ -4,6 +4,8 @@ |
#include "device/bluetooth/test/mock_bluetooth_adapter.h" |
+#include <utility> |
+ |
#include "build/build_config.h" |
#include "device/bluetooth/test/mock_bluetooth_advertisement.h" |
@@ -60,7 +62,7 @@ void MockBluetoothAdapter::StartDiscoverySessionWithFilter( |
void MockBluetoothAdapter::AddMockDevice( |
scoped_ptr<MockBluetoothDevice> mock_device) { |
- mock_devices_.push_back(mock_device.Pass()); |
+ mock_devices_.push_back(std::move(mock_device)); |
} |
BluetoothAdapter::ConstDeviceList MockBluetoothAdapter::GetConstMockDevices() { |