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

Unified Diff: webrtc/base/stringutils_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/stringutils.h ('k') | webrtc/base/task_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/stringutils_unittest.cc
diff --git a/webrtc/base/stringutils_unittest.cc b/webrtc/base/stringutils_unittest.cc
index 5e034dd1cdaec804b65f8afc62f61205039d60a0..7d5b8e24c970e363ba6b8ce6dd90b25e53ae4b87 100644
--- a/webrtc/base/stringutils_unittest.cc
+++ b/webrtc/base/stringutils_unittest.cc
@@ -33,13 +33,13 @@ TEST(string_matchTest, Matches) {
// Tests for ascii_string_compare().
-// Tests NULL input.
+// Tests null input.
TEST(ascii_string_compareTest, NullInput) {
// The following results in an access violation in
// ascii_string_compare. Is this a bug or by design? stringutils.h
// should document the expected behavior in this case.
- // EXPECT_EQ(0, ascii_string_compare(NULL, NULL, 1, identity));
+ // EXPECT_EQ(0, ascii_string_compare(nullptr, nullptr, 1, identity));
}
// Tests comparing two strings of different lengths.
« no previous file with comments | « webrtc/base/stringutils.h ('k') | webrtc/base/task_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698