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

Unified Diff: components/copresence/mediums/audio/audio_player_unittest.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_player_unittest.cc
diff --git a/components/copresence/mediums/audio/audio_player_unittest.cc b/components/copresence/mediums/audio/audio_player_unittest.cc
index b963e88482add8e15ced5099b97979f39ea3260b..902d705ac7938785f2ddeca4a4fc0e536baaadb5 100644
--- a/components/copresence/mediums/audio/audio_player_unittest.cc
+++ b/components/copresence/mediums/audio/audio_player_unittest.cc
@@ -26,7 +26,7 @@ class TestAudioOutputStream : public media::AudioOutputStream {
: default_frame_count_(default_frame_count),
max_frame_count_(max_frame_count),
gather_callback_(gather_callback),
- callback_(NULL) {
+ callback_(nullptr) {
caller_loop_ = base::MessageLoop::current();
}
@@ -73,7 +73,7 @@ namespace copresence {
class AudioPlayerTest : public testing::Test,
public base::SupportsWeakPtr<AudioPlayerTest> {
public:
- AudioPlayerTest() : buffer_index_(0), player_(NULL) {
+ AudioPlayerTest() : buffer_index_(0), player_(nullptr) {
if (!media::AudioManager::Get())
media::AudioManager::CreateForTesting();
}
@@ -94,7 +94,7 @@ class AudioPlayerTest : public testing::Test,
if (!player_)
return;
player_->Finalize();
- player_ = NULL;
+ player_ = nullptr;
}
void PlayAndVerifySamples(
« no previous file with comments | « components/copresence/mediums/audio/audio_player_impl.cc ('k') | components/copresence/mediums/audio/audio_recorder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698