| Index: device/bluetooth/bluetooth_device.cc
|
| diff --git a/device/bluetooth/bluetooth_device.cc b/device/bluetooth/bluetooth_device.cc
|
| index bf193707b0b9b4168b256dcb52536ee214fabef8..5684ebdfb3bc75bcc697ff2960c616f6107bc38b 100644
|
| --- a/device/bluetooth/bluetooth_device.cc
|
| +++ b/device/bluetooth/bluetooth_device.cc
|
| @@ -397,7 +397,7 @@ void BluetoothDevice::ClearAdvertisementData() {
|
| void BluetoothDevice::DidConnectGatt() {
|
| for (const auto& callback : create_gatt_connection_success_callbacks_) {
|
| callback.Run(
|
| - base::WrapUnique(new BluetoothGattConnection(adapter_, GetAddress())));
|
| + base::MakeUnique<BluetoothGattConnection>(adapter_, GetAddress()));
|
| }
|
| create_gatt_connection_success_callbacks_.clear();
|
| create_gatt_connection_error_callbacks_.clear();
|
|
|