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

Unified Diff: webrtc/modules/audio_processing/config_unittest.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. Created 3 years, 10 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: webrtc/modules/audio_processing/config_unittest.cc
diff --git a/webrtc/modules/audio_processing/config_unittest.cc b/webrtc/modules/audio_processing/config_unittest.cc
index 33f4ed152c48a882b0a1ef7ae8dcea7aa61842c8..1290b81cd87af9268d69ecc58f5ff33af1e3e101 100644
--- a/webrtc/modules/audio_processing/config_unittest.cc
+++ b/webrtc/modules/audio_processing/config_unittest.cc
@@ -50,7 +50,7 @@ TEST(Config, ReturnOptionWhenSet) {
TEST(Config, SetNullSetsTheOptionBackToDefault) {
Config config;
config.Set<MyExperiment>(new MyExperiment(5, 1));
- config.Set<MyExperiment>(NULL);
+ config.Set<MyExperiment>(nullptr);
const MyExperiment& my_exp = config.Get<MyExperiment>();
EXPECT_EQ(MyExperiment::kDefaultFactor, my_exp.factor);
EXPECT_EQ(MyExperiment::kDefaultOffset, my_exp.offset);

Powered by Google App Engine
This is Rietveld 408576698