Index: remoting/protocol/authenticator_test_base.cc |
diff --git a/remoting/protocol/authenticator_test_base.cc b/remoting/protocol/authenticator_test_base.cc |
index 35797500a94865760075d0382ddf33393cf2d367..84bca673b64813d60787aa7d77a180ed3780e1b2 100644 |
--- a/remoting/protocol/authenticator_test_base.cc |
+++ b/remoting/protocol/authenticator_test_base.cc |
@@ -116,12 +116,12 @@ void AuthenticatorTestBase::RunChannelAuth(bool expected_fail) { |
client_fake_socket_->PairWith(host_fake_socket_.get()); |
client_auth_->SecureAndAuthenticate( |
- client_fake_socket_.PassAs<net::StreamSocket>(), |
+ client_fake_socket_.Pass(), |
base::Bind(&AuthenticatorTestBase::OnClientConnected, |
base::Unretained(this))); |
host_auth_->SecureAndAuthenticate( |
- host_fake_socket_.PassAs<net::StreamSocket>(), |
+ host_fake_socket_.Pass(), |
base::Bind(&AuthenticatorTestBase::OnHostConnected, |
base::Unretained(this))); |