summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/audio_reader.cc
diff options
context:
space:
mode:
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));
}