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

Unified Diff: tests/OSPathTest.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 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 | « tests/MipMapTest.cpp ('k') | tests/PDFDeflateWStreamTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/OSPathTest.cpp
diff --git a/tests/OSPathTest.cpp b/tests/OSPathTest.cpp
index facc6ad3f70a6020a13a171994f1cc595355eddf..3276145fa4012f208aae2ad01d62a98bd2ddc286 100644
--- a/tests/OSPathTest.cpp
+++ b/tests/OSPathTest.cpp
@@ -86,8 +86,8 @@ DEF_TEST(OSPath, reporter) {
SkString baseOfDir = SkOSPath::Basename(dir.c_str());
REPORTER_ASSERT(reporter, baseOfDir.size() == 0);
- // Basename of NULL is an empty string.
- SkString empty = SkOSPath::Basename(NULL);
+ // Basename of nullptr is an empty string.
+ SkString empty = SkOSPath::Basename(nullptr);
REPORTER_ASSERT(reporter, empty.size() == 0);
// File in root dir
@@ -99,7 +99,7 @@ DEF_TEST(OSPath, reporter) {
filename.reset();
test_dir_with_file(reporter, dir, filename);
- // Test that NULL can be used for the directory and filename.
- SkString emptyPath = SkOSPath::Join(NULL, NULL);
+ // Test that nullptr can be used for the directory and filename.
+ SkString emptyPath = SkOSPath::Join(nullptr, nullptr);
REPORTER_ASSERT(reporter, emptyPath.isEmpty());
}
« no previous file with comments | « tests/MipMapTest.cpp ('k') | tests/PDFDeflateWStreamTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698