summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/audio_reader.cc
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-14 00:35:13 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-14 00:35:13 +0000
commit3c2dc955e2d6bbcc20fd18512c09cc916e796b0a (patch)
treefff266eb50e04302ce4f632a938a1963b4b1fefe /remoting/protocol/audio_reader.cc
parent27b7b64d69423a0e50b740f0b9d81c46a3de33be (diff)
downloadchromium_src-3c2dc955e2d6bbcc20fd18512c09cc916e796b0a.zip
chromium_src-3c2dc955e2d6bbcc20fd18512c09cc916e796b0a.tar.gz
chromium_src-3c2dc955e2d6bbcc20fd18512c09cc916e796b0a.tar.bz2
Rewrite scoped_ptr<T>(NULL) to use the default ctor in remoting/.
This is the result of running the rewrite_scoped_ptr_ctor_null tool across all files built on Linux in the remoting/ directory. BUG=173286 Review URL: https://chromiumcodereview.appspot.com/16964002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/audio_reader.cc')
-rw-r--r--remoting/protocol/audio_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/audio_reader.cc b/remoting/protocol/audio_reader.cc
index 9723201..72a0afd 100644
--- a/remoting/protocol/audio_reader.cc
+++ b/remoting/protocol/audio_reader.cc
@@ -25,7 +25,7 @@ AudioReader::~AudioReader() {
// static
scoped_ptr<AudioReader> AudioReader::Create(const SessionConfig& config) {
if (!config.is_audio_enabled())
- return scoped_ptr<AudioReader>(NULL);
+ return scoped_ptr<AudioReader>();
// TODO(kxing): Support different session configurations.
return scoped_ptr<AudioReader>(new AudioReader(AudioPacket::ENCODING_RAW));
}