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

Unified Diff: components/copresence/mediums/audio/audio_manager_impl.cc

Issue 691223002: Replacing NULL with nullptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using EXPECT_THAT Created 6 years, 2 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: components/copresence/mediums/audio/audio_manager_impl.cc
diff --git a/components/copresence/mediums/audio/audio_manager_impl.cc b/components/copresence/mediums/audio/audio_manager_impl.cc
index 7670d6ed79fa5a0c0f1d14deb0a7e5f292e15645..bf354ca2113898752778820d933ff76ee6c2dfe2 100644
--- a/components/copresence/mediums/audio/audio_manager_impl.cc
+++ b/components/copresence/mediums/audio/audio_manager_impl.cc
@@ -40,15 +40,15 @@ const int kMaxSamples = 10000;
// Public methods.
-AudioManagerImpl::AudioManagerImpl() : recorder_(NULL) {
+AudioManagerImpl::AudioManagerImpl() : recorder_(nullptr) {
// TODO(rkc): Move all of these into initializer lists once it is allowed.
playing_[AUDIBLE] = false;
playing_[INAUDIBLE] = false;
recording_[AUDIBLE] = false;
recording_[INAUDIBLE] = false;
- player_[AUDIBLE] = NULL;
- player_[INAUDIBLE] = NULL;
+ player_[AUDIBLE] = nullptr;
+ player_[INAUDIBLE] = nullptr;
}
void AudioManagerImpl::Initialize(const DecodeSamplesCallback& decode_cb,

Powered by Google App Engine
This is Rietveld 408576698