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

Unified Diff: remoting/host/audio_scheduler.cc

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « remoting/host/audio_capturer_win.cc ('k') | remoting/host/cast_extension_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_scheduler.cc
diff --git a/remoting/host/audio_scheduler.cc b/remoting/host/audio_scheduler.cc
index b8bf7ef07d8e74339214864e3d0e509db0b9e956..1b995b600439686d6bf1926870bd2bb5f8a53b19 100644
--- a/remoting/host/audio_scheduler.cc
+++ b/remoting/host/audio_scheduler.cc
@@ -46,7 +46,7 @@ void AudioScheduler::Stop() {
DCHECK(audio_stub_);
// Clear |audio_stub_| to prevent audio packets being delivered to the client.
- audio_stub_ = NULL;
+ audio_stub_ = nullptr;
audio_task_runner_->PostTask(
FROM_HERE,
@@ -89,7 +89,7 @@ void AudioScheduler::EncodeAudioPacket(scoped_ptr<AudioPacket> packet) {
scoped_ptr<AudioPacket> encoded_packet =
audio_encoder_->Encode(packet.Pass());
- // The audio encoder returns a NULL audio packet if there's no audio to send.
+ // The audio encoder returns a null audio packet if there's no audio to send.
if (encoded_packet.get()) {
network_task_runner_->PostTask(
FROM_HERE, base::Bind(&AudioScheduler::SendAudioPacket,
« no previous file with comments | « remoting/host/audio_capturer_win.cc ('k') | remoting/host/cast_extension_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698