Index: remoting/protocol/ssl_hmac_channel_authenticator.cc |
diff --git a/remoting/protocol/ssl_hmac_channel_authenticator.cc b/remoting/protocol/ssl_hmac_channel_authenticator.cc |
index f4bedeadf93039d696fe769d943683f9d12270df..575f21584020989a69c5057dfab9493abd3f9343 100644 |
--- a/remoting/protocol/ssl_hmac_channel_authenticator.cc |
+++ b/remoting/protocol/ssl_hmac_channel_authenticator.cc |
@@ -280,12 +280,12 @@ void SslHmacChannelAuthenticator::CheckDone(bool* callback_called) { |
if (callback_called) |
*callback_called = true; |
- CallDoneCallback(net::OK, socket_.PassAs<net::StreamSocket>()); |
+ CallDoneCallback(net::OK, socket_.Pass()); |
} |
} |
void SslHmacChannelAuthenticator::NotifyError(int error) { |
- CallDoneCallback(error, scoped_ptr<net::StreamSocket>()); |
+ CallDoneCallback(error, nullptr); |
} |
void SslHmacChannelAuthenticator::CallDoneCallback( |