Index: components/proximity_auth/cryptauth/cryptauth_device_manager.cc |
diff --git a/components/proximity_auth/cryptauth/cryptauth_device_manager.cc b/components/proximity_auth/cryptauth/cryptauth_device_manager.cc |
index c2f51a3a8d6291a2b3a05374a20109778abca3d6..c74d52356a7cdb88bb6a3f9bce8e73fa96a74c4c 100644 |
--- a/components/proximity_auth/cryptauth/cryptauth_device_manager.cc |
+++ b/components/proximity_auth/cryptauth/cryptauth_device_manager.cc |
@@ -235,10 +235,10 @@ void CryptAuthDeviceManager::OnGetMyDevicesFailure(const std::string& error) { |
} |
std::unique_ptr<SyncScheduler> CryptAuthDeviceManager::CreateSyncScheduler() { |
- return base::WrapUnique(new SyncSchedulerImpl( |
+ return base::MakeUnique<SyncSchedulerImpl>( |
this, base::TimeDelta::FromHours(kRefreshPeriodHours), |
base::TimeDelta::FromMinutes(kDeviceSyncBaseRecoveryPeriodMinutes), |
- kDeviceSyncMaxJitterRatio, "CryptAuth DeviceSync")); |
+ kDeviceSyncMaxJitterRatio, "CryptAuth DeviceSync"); |
} |
void CryptAuthDeviceManager::OnResyncMessage() { |