Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(932)

Unified Diff: remoting/protocol/ssl_hmac_channel_authenticator.cc

Issue 16964002: Rewrite scoped_ptr<T>(NULL) to use the default ctor in remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 93249bde66b02819dee20d1a5c08704fb53d6bcf..648e4097f20b5b44055823ecc2a3c37dc54df8dd 100644
--- a/remoting/protocol/ssl_hmac_channel_authenticator.cc
+++ b/remoting/protocol/ssl_hmac_channel_authenticator.cc
@@ -266,7 +266,7 @@ void SslHmacChannelAuthenticator::CheckDone(bool* callback_called) {
void SslHmacChannelAuthenticator::NotifyError(int error) {
done_callback_.Run(static_cast<net::Error>(error),
- scoped_ptr<net::StreamSocket>(NULL));
+ scoped_ptr<net::StreamSocket>());
}
} // namespace protocol

Powered by Google App Engine
This is Rietveld 408576698