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

Unified Diff: remoting/protocol/me2me_host_authenticator_factory.cc

Issue 609923004: Cleanup usage of scoped_ptr<> in remoting for C++11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 b9cc99d8e49d536f7146a4b07360ad7bb7d03871..5d97de1da0dec22e8c85ecd86dec90431e917f71 100644
--- a/remoting/protocol/me2me_host_authenticator_factory.cc
+++ b/remoting/protocol/me2me_host_authenticator_factory.cc
@@ -48,13 +48,13 @@ class RejectingAuthenticator : public Authenticator {
virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE {
NOTREACHED();
- return scoped_ptr<buzz::XmlElement>();
+ return nullptr;
}
virtual scoped_ptr<ChannelAuthenticator>
CreateChannelAuthenticator() const OVERRIDE {
NOTREACHED();
- return scoped_ptr<ChannelAuthenticator>();
+ return nullptr;
}
protected:

Powered by Google App Engine
This is Rietveld 408576698