Index: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc |
index f13635443788c77a8edde52456cad872b9f235ee..721ba970ceaedfed0598213097049e750b7c5763 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc |
@@ -253,9 +253,9 @@ BluetoothLowEnergyConnectionFinder::CreateConnection( |
DCHECK(remote_device_.bluetooth_address.empty() || |
remote_device_.bluetooth_address == device_address); |
remote_device_.bluetooth_address = device_address; |
- return base::WrapUnique(new BluetoothLowEnergyConnection( |
+ return base::MakeUnique<BluetoothLowEnergyConnection>( |
remote_device_, adapter_, remote_service_uuid_, bluetooth_throttler_, |
- max_number_of_tries_)); |
+ max_number_of_tries_); |
} |
void BluetoothLowEnergyConnectionFinder::OnConnectionStatusChanged( |