Index: remoting/protocol/pepper_stream_channel.cc |
diff --git a/remoting/protocol/pepper_stream_channel.cc b/remoting/protocol/pepper_stream_channel.cc |
index 1508ca3dd2bbea39234391b1893ad2851789fff7..5f8afab9f7cd125acb73acd1d56cc30dfe2ff0bf 100644 |
--- a/remoting/protocol/pepper_stream_channel.cc |
+++ b/remoting/protocol/pepper_stream_channel.cc |
@@ -236,11 +236,10 @@ void PepperStreamChannel::OnSSLConnect(int result) { |
void PepperStreamChannel::AuthenticateChannel() { |
DCHECK(CalledOnValidThread()); |
- authenticator_.reset(new ClientChannelAuthenticator(ssl_client_socket_)); |
- authenticator_->Authenticate( |
- session_->shared_secret(), |
- base::Bind(&PepperStreamChannel::OnAuthenticationDone, |
- base::Unretained(this))); |
+ authenticator_.reset( |
+ new ClientChannelAuthenticator(session_->shared_secret())); |
+ authenticator_->Authenticate(ssl_client_socket_, base::Bind( |
+ &PepperStreamChannel::OnAuthenticationDone, base::Unretained(this))); |
} |
void PepperStreamChannel::OnAuthenticationDone( |