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

Unified Diff: device/bluetooth/test/mock_bluetooth_gatt_service.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
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_device.cc ('k') | device/devices_app/devices_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/mock_bluetooth_gatt_service.cc
diff --git a/device/bluetooth/test/mock_bluetooth_gatt_service.cc b/device/bluetooth/test/mock_bluetooth_gatt_service.cc
index 93cbfc573e8391dc1adb836080036311454e8f9c..148208aeee4dc7cd1ee9c096d9d8d8d24d2e4b4b 100644
--- a/device/bluetooth/test/mock_bluetooth_gatt_service.cc
+++ b/device/bluetooth/test/mock_bluetooth_gatt_service.cc
@@ -4,6 +4,8 @@
#include "device/bluetooth/test/mock_bluetooth_gatt_service.h"
+#include <utility>
+
#include "device/bluetooth/test/mock_bluetooth_device.h"
using testing::Return;
@@ -35,7 +37,7 @@ MockBluetoothGattService::~MockBluetoothGattService() {
void MockBluetoothGattService::AddMockCharacteristic(
scoped_ptr<MockBluetoothGattCharacteristic> mock_characteristic) {
- mock_characteristics_.push_back(mock_characteristic.Pass());
+ mock_characteristics_.push_back(std::move(mock_characteristic));
}
std::vector<BluetoothGattCharacteristic*>
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_device.cc ('k') | device/devices_app/devices_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698