Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2008)

Unified Diff: device/bluetooth/test/mock_bluetooth_device.cc

Issue 1544323002: Convert Pass()→std::move() in //device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_adapter.cc ('k') | device/bluetooth/test/mock_bluetooth_gatt_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698