Index: components/proximity_auth/unlock_manager.cc |
diff --git a/components/proximity_auth/unlock_manager.cc b/components/proximity_auth/unlock_manager.cc |
index 91172086055c1f28eb7932710e123e838b6bb7d9..20999086a664d5725cda9e3adec664846b609272 100644 |
--- a/components/proximity_auth/unlock_manager.cc |
+++ b/components/proximity_auth/unlock_manager.cc |
@@ -321,8 +321,8 @@ void UnlockManager::OnAuthAttempted( |
std::unique_ptr<ProximityMonitor> UnlockManager::CreateProximityMonitor( |
const RemoteDevice& remote_device) { |
- return base::WrapUnique(new ProximityMonitorImpl( |
- remote_device, base::WrapUnique(new base::DefaultTickClock()))); |
+ return base::MakeUnique<ProximityMonitorImpl>( |
+ remote_device, base::WrapUnique(new base::DefaultTickClock())); |
} |
void UnlockManager::SendSignInChallenge() { |