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

Unified Diff: device/bluetooth/bluetooth_device_win.cc

Issue 2608613002: Followup cleanup from the removal of base::ScopedPtrHashMap from device/. (Closed)
Patch Set: fixed reversal 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_device_win.cc
diff --git a/device/bluetooth/bluetooth_device_win.cc b/device/bluetooth/bluetooth_device_win.cc
index a82eebdf326d91404a30ba7b087457505e5a58b1..7b0ac1f0ac96a78cfddc4b359e26a2385926d2fa 100644
--- a/device/bluetooth/bluetooth_device_win.cc
+++ b/device/bluetooth/bluetooth_device_win.cc
@@ -239,9 +239,8 @@ bool BluetoothDeviceWin::IsEqual(
new_service_records;
for (auto iter = device_state.service_record_states.begin();
iter != device_state.service_record_states.end(); ++iter) {
- std::unique_ptr<BluetoothServiceRecordWin> service_record =
- base::MakeUnique<BluetoothServiceRecordWin>(
- address_, (*iter)->name, (*iter)->sdp_bytes, (*iter)->gatt_uuid);
+ auto service_record = base::MakeUnique<BluetoothServiceRecordWin>(
+ address_, (*iter)->name, (*iter)->sdp_bytes, (*iter)->gatt_uuid);
new_services.insert(service_record->uuid());
new_service_records[service_record->uuid().canonical_value()] =
std::move(service_record);
« no previous file with comments | « device/bluetooth/bluetooth_device_android.cc ('k') | device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698