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

Unified Diff: remoting/protocol/me2me_host_authenticator_factory.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/me2me_host_authenticator_factory.cc
diff --git a/remoting/protocol/me2me_host_authenticator_factory.cc b/remoting/protocol/me2me_host_authenticator_factory.cc
index eddc50ff5c173f1e0db5fbd53fb261007d514263..d0deff1f5574e8d259404edd4718365b6f767f08 100644
--- a/remoting/protocol/me2me_host_authenticator_factory.cc
+++ b/remoting/protocol/me2me_host_authenticator_factory.cc
@@ -43,13 +43,13 @@ class RejectingAuthenticator : public Authenticator {
virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE {
NOTREACHED();
- return scoped_ptr<buzz::XmlElement>(NULL);
+ return scoped_ptr<buzz::XmlElement>();
}
virtual scoped_ptr<ChannelAuthenticator>
CreateChannelAuthenticator() const OVERRIDE {
NOTREACHED();
- return scoped_ptr<ChannelAuthenticator>(NULL);
+ return scoped_ptr<ChannelAuthenticator>();
}
protected:

Powered by Google App Engine
This is Rietveld 408576698