diff options
author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /tests/OSPathTest.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'tests/OSPathTest.cpp')
-rw-r--r-- | tests/OSPathTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/OSPathTest.cpp b/tests/OSPathTest.cpp index facc6ad3f7..3276145fa4 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()); } |