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

Unified Diff: remoting/host/client_session.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/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index cf282dd8fbf2a1434693c11b0cd0356d28034011..2ce140011b145fe34e0e52ca3df6724247266ec4 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -417,7 +417,7 @@ scoped_ptr<VideoEncoder> ClientSession::CreateVideoEncoder(
}
NOTIMPLEMENTED();
- return scoped_ptr<VideoEncoder>(NULL);
+ return scoped_ptr<VideoEncoder>();
}
// static
@@ -434,7 +434,7 @@ scoped_ptr<AudioEncoder> ClientSession::CreateAudioEncoder(
}
NOTIMPLEMENTED();
- return scoped_ptr<AudioEncoder>(NULL);
+ return scoped_ptr<AudioEncoder>();
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698