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

Unified Diff: webrtc/modules/audio_coding/test/delay_test.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_coding/test/delay_test.cc
diff --git a/webrtc/modules/audio_coding/test/delay_test.cc b/webrtc/modules/audio_coding/test/delay_test.cc
index d39daf29b152ae8301c9b90fe4739a0fc8b54858..3de5b381c40c7f6628ac9a8b9d2349a959e5fad3 100644
--- a/webrtc/modules/audio_coding/test/delay_test.cc
+++ b/webrtc/modules/audio_coding/test/delay_test.cc
@@ -70,9 +70,9 @@ class DelayTest {
encoding_sample_rate_hz_(8000) {}
~DelayTest() {
- if (channel_a2b_ != NULL) {
+ if (channel_a2b_ != nullptr) {
delete channel_a2b_;
- channel_a2b_ = NULL;
+ channel_a2b_ = nullptr;
}
in_file_a_.Close();
}

Powered by Google App Engine
This is Rietveld 408576698