Index: remoting/protocol/third_party_authenticator_unittest.cc |
diff --git a/remoting/protocol/third_party_authenticator_unittest.cc b/remoting/protocol/third_party_authenticator_unittest.cc |
index 9f6dde1dee4a98ba3670b6ae3d604c88d916ddcd..ee2f01a428968803d688aaacc9defc4788da0719 100644 |
--- a/remoting/protocol/third_party_authenticator_unittest.cc |
+++ b/remoting/protocol/third_party_authenticator_unittest.cc |
@@ -100,11 +100,11 @@ class ThirdPartyAuthenticatorTest : public AuthenticatorTestBase { |
scoped_ptr<TokenValidator> token_validator(new FakeTokenValidator()); |
token_validator_ = static_cast<FakeTokenValidator*>(token_validator.get()); |
host_.reset(new ThirdPartyHostAuthenticator( |
- host_cert_, key_pair_, token_validator.Pass())); |
+ host_cert_, key_pair_, std::move(token_validator))); |
scoped_ptr<ThirdPartyClientAuthenticator::TokenFetcher> |
token_fetcher(new FakeTokenFetcher()); |
token_fetcher_ = static_cast<FakeTokenFetcher*>(token_fetcher.get()); |
- client_.reset(new ThirdPartyClientAuthenticator(token_fetcher.Pass())); |
+ client_.reset(new ThirdPartyClientAuthenticator(std::move(token_fetcher))); |
} |
FakeTokenFetcher* token_fetcher_; |