Index: src/svg/parser/SkSVGPath.cpp |
diff --git a/src/svg/parser/SkSVGPath.cpp b/src/svg/parser/SkSVGPath.cpp |
index ab18a65a7baedc3730f7af994bba114aba8cc4dd..c9917c7b52f8ea967858339ec81dbf5a045e4b8a 100644 |
--- a/src/svg/parser/SkSVGPath.cpp |
+++ b/src/svg/parser/SkSVGPath.cpp |
@@ -21,7 +21,7 @@ void SkSVGPath::translate(SkSVGParser& parser, bool defState) { |
INHERITED::translate(parser, defState); |
bool hasMultiplePaths = false; |
const char* firstZ = strchr(f_d.c_str(), 'z'); |
- if (firstZ != NULL) { |
+ if (firstZ != nullptr) { |
firstZ++; // skip over 'z' |
while (*firstZ == ' ') |
firstZ++; |