Index: remoting/protocol/fake_authenticator.cc |
diff --git a/remoting/protocol/fake_authenticator.cc b/remoting/protocol/fake_authenticator.cc |
index e05e05bb8915ac266360b4807f7fa9c81384dc43..4a796409421d46fd13641363bea40e8fc4470a53 100644 |
--- a/remoting/protocol/fake_authenticator.cc |
+++ b/remoting/protocol/fake_authenticator.cc |
@@ -189,8 +189,8 @@ const std::string& FakeAuthenticator::GetAuthKey() const { |
std::unique_ptr<ChannelAuthenticator> |
FakeAuthenticator::CreateChannelAuthenticator() const { |
EXPECT_EQ(ACCEPTED, state()); |
- return base::WrapUnique( |
- new FakeChannelAuthenticator(action_ != REJECT_CHANNEL, async_)); |
+ return base::MakeUnique<FakeChannelAuthenticator>(action_ != REJECT_CHANNEL, |
+ async_); |
} |
FakeHostAuthenticatorFactory::FakeHostAuthenticatorFactory( |