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

Unified Diff: remoting/protocol/video_writer.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
« remoting/codec/video_encoder_vp8.cc ('K') | « remoting/protocol/video_reader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_writer.cc
diff --git a/remoting/protocol/video_writer.cc b/remoting/protocol/video_writer.cc
index 04f03f3fd1c907650b69d1e3e50dbb5de03860f1..736e8ec0ec1db4c44a8b7acd89ecac2aed2ede6e 100644
--- a/remoting/protocol/video_writer.cc
+++ b/remoting/protocol/video_writer.cc
@@ -18,7 +18,7 @@ scoped_ptr<VideoWriter> VideoWriter::Create(const SessionConfig& config) {
if (video_config.transport == ChannelConfig::TRANSPORT_STREAM) {
return scoped_ptr<VideoWriter>(new ProtobufVideoWriter());
}
- return scoped_ptr<VideoWriter>(NULL);
+ return scoped_ptr<VideoWriter>();
}
} // namespace protocol
« remoting/codec/video_encoder_vp8.cc ('K') | « remoting/protocol/video_reader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698