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

Unified Diff: remoting/protocol/video_reader.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/video_reader.cc
diff --git a/remoting/protocol/video_reader.cc b/remoting/protocol/video_reader.cc
index adf7189d97ba428c5e2986afab86a12e66fb3f81..8fd3afe5eb53dccd5deab9ebdc0d07b16b3b41b3 100644
--- a/remoting/protocol/video_reader.cc
+++ b/remoting/protocol/video_reader.cc
@@ -28,7 +28,7 @@ scoped_ptr<VideoReader> VideoReader::Create(const SessionConfig& config) {
}
}
NOTREACHED();
- return scoped_ptr<VideoReader>(NULL);
+ return scoped_ptr<VideoReader>();
}
} // namespace protocol

Powered by Google App Engine
This is Rietveld 408576698