Index: src/core/SkString.cpp |
diff --git a/src/core/SkString.cpp b/src/core/SkString.cpp |
index 5c63a8b515503ec696ba65d59b8ac2932cc204bd..9110d80eb9d704966ec5216be0a6e86307f3281a 100644 |
--- a/src/core/SkString.cpp |
+++ b/src/core/SkString.cpp |
@@ -256,7 +256,7 @@ SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { |
} |
SkString::SkString(size_t len) { |
- fRec = AllocRec(NULL, len); |
+ fRec = AllocRec(nullptr, len); |
} |
SkString::SkString(const char text[]) { |
@@ -295,7 +295,7 @@ bool SkString::equals(const char text[]) const { |
} |
bool SkString::equals(const char text[], size_t len) const { |
- SkASSERT(len == 0 || text != NULL); |
+ SkASSERT(len == 0 || text != nullptr); |
return fRec->fLength == len && !memcmp(fRec->data(), text, len); |
} |