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

Unified Diff: device/bluetooth/bluetooth_adapter_win_unittest.cc

Issue 2567903004: Replace ScopedVector/ScopedPtrHashMap with std::vector and std::unordered_map (Closed)
Patch Set: Created 4 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/bluetooth_adapter_win_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_win_unittest.cc b/device/bluetooth/bluetooth_adapter_win_unittest.cc
index e5126e8cf59344ae43ae4c002095060ea4386ff2..92c0e6eb9e8c9b80e77c48e79a03b6de800eaafd 100644
--- a/device/bluetooth/bluetooth_adapter_win_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_win_unittest.cc
@@ -443,7 +443,7 @@ TEST_F(BluetoothAdapterWinTest, DevicesPolled) {
BluetoothTaskManagerWin::DeviceState* iphone_state =
new BluetoothTaskManagerWin::DeviceState();
MakeDeviceState("phone", "A1:B2:C3:D4:E5:E2", iphone_state);
- ScopedVector<BluetoothTaskManagerWin::DeviceState> devices;
+ std::vector<std::unique_ptr << BluetoothTaskManagerWin::DeviceState>> devices;
scheib 2016/12/13 00:51:06 << ?
devices.push_back(android_phone_state);
devices.push_back(laptop_state);
devices.push_back(iphone_state);

Powered by Google App Engine
This is Rietveld 408576698