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) { |