Index: remoting/host/pam_authorization_factory_posix.cc |
diff --git a/remoting/host/pam_authorization_factory_posix.cc b/remoting/host/pam_authorization_factory_posix.cc |
index 40c1c309fcc82399b1e8dcf4c88fbd317d27274f..35da4cd38cc804bdd8e588c394dfcbd224cecb6d 100644 |
--- a/remoting/host/pam_authorization_factory_posix.cc |
+++ b/remoting/host/pam_authorization_factory_posix.cc |
@@ -173,7 +173,7 @@ PamAuthorizationFactory::CreateAuthenticator(const std::string& local_jid, |
const std::string& remote_jid) { |
std::unique_ptr<protocol::Authenticator> authenticator( |
underlying_->CreateAuthenticator(local_jid, remote_jid)); |
- return base::WrapUnique(new PamAuthorizer(std::move(authenticator))); |
+ return base::MakeUnique<PamAuthorizer>(std::move(authenticator)); |
} |
} // namespace remoting |