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

Unified Diff: webrtc/base/bitbuffer_unittest.cc

Issue 2718663005: Replace NULL with nullptr or null in webrtc/base/. (Closed)
Patch Set: Fixing Windows and formatting issues. 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
« no previous file with comments | « webrtc/base/bitbuffer.cc ('k') | webrtc/base/bytebuffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/bitbuffer_unittest.cc
diff --git a/webrtc/base/bitbuffer_unittest.cc b/webrtc/base/bitbuffer_unittest.cc
index aa9a1e741c32fa0e60c2c3089cd9f3560a667f57..16142995f243bc52ea24a02dc6f989da13fda793 100644
--- a/webrtc/base/bitbuffer_unittest.cc
+++ b/webrtc/base/bitbuffer_unittest.cc
@@ -169,8 +169,8 @@ TEST(BitBufferTest, SetOffsetValues) {
// nicely.
#if GTEST_HAS_DEATH_TEST
#if !defined(WEBRTC_ANDROID)
- // Passing a NULL out parameter is death.
- EXPECT_DEATH(buffer.GetCurrentOffset(&byte_offset, NULL), "");
+ // Passing a null out parameter is death.
+ EXPECT_DEATH(buffer.GetCurrentOffset(&byte_offset, nullptr), "");
#endif
#endif
}
« no previous file with comments | « webrtc/base/bitbuffer.cc ('k') | webrtc/base/bytebuffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698