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

Unified Diff: src/utils/SkOSFile.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 | « src/utils/SkNinePatch.cpp ('k') | src/utils/SkParse.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkOSFile.cpp
diff --git a/src/utils/SkOSFile.cpp b/src/utils/SkOSFile.cpp
index cb12c2b6ae5190909aa700088e1764a98a7adc73..a0c003ba8d1c2d4295a44dd8884c166946235e32 100644
--- a/src/utils/SkOSFile.cpp
+++ b/src/utils/SkOSFile.cpp
@@ -20,7 +20,7 @@ SkString SkOSPath::Basename(const char* fullPath) {
return SkString();
}
const char* filename = strrchr(fullPath, SkPATH_SEPARATOR);
- if (NULL == filename) {
+ if (nullptr == filename) {
filename = fullPath;
} else {
++filename;
@@ -33,7 +33,7 @@ SkString SkOSPath::Dirname(const char* fullPath) {
return SkString();
}
const char* end = strrchr(fullPath, SkPATH_SEPARATOR);
- if (NULL == end) {
+ if (nullptr == end) {
return SkString();
}
if (end == fullPath) {
« no previous file with comments | « src/utils/SkNinePatch.cpp ('k') | src/utils/SkParse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698