Index: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc |
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc |
index 37fee4592af59d38a3e8a89eb24ff823dc4826b4..4749dc0086fb7da9e17a8c36fa7fb2a63a405fe6 100644 |
--- a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc |
+++ b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc |
@@ -75,12 +75,12 @@ class SslHmacChannelAuthenticatorTest : public testing::Test { |
client_fake_socket_->PairWith(host_fake_socket_.get()); |
client_auth_->SecureAndAuthenticate( |
- client_fake_socket_.PassAs<net::StreamSocket>(), |
+ client_fake_socket_.Pass(), |
base::Bind(&SslHmacChannelAuthenticatorTest::OnClientConnected, |
base::Unretained(this))); |
host_auth_->SecureAndAuthenticate( |
- host_fake_socket_.PassAs<net::StreamSocket>(), |
+ host_fake_socket_.Pass(), |
base::Bind(&SslHmacChannelAuthenticatorTest::OnHostConnected, |
base::Unretained(this), std::string("ref argument value"))); |