| 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);
|
|
|