Index: src/animator/SkTextToPath.cpp |
diff --git a/src/animator/SkTextToPath.cpp b/src/animator/SkTextToPath.cpp |
index 0c1b0e42e405e1e055fbe026820b119498c6fe23..d4b525b9afc85cf99fe1a5133f83a30f5ff6b0e1 100644 |
--- a/src/animator/SkTextToPath.cpp |
+++ b/src/animator/SkTextToPath.cpp |
@@ -26,7 +26,7 @@ const SkMemberInfo SkTextToPath::fInfo[] = { |
DEFINE_GET_MEMBER(SkTextToPath); |
-SkTextToPath::SkTextToPath() : paint(NULL), path(NULL), text(NULL) { |
+SkTextToPath::SkTextToPath() : paint(nullptr), path(nullptr), text(nullptr) { |
} |
bool SkTextToPath::draw(SkAnimateMaker& maker) { |
@@ -35,7 +35,7 @@ bool SkTextToPath::draw(SkAnimateMaker& maker) { |
} |
void SkTextToPath::onEndElement(SkAnimateMaker& maker) { |
- if (paint == NULL || path == NULL || text == NULL) { |
+ if (paint == nullptr || path == nullptr || text == nullptr) { |
// !!! add error message here |
maker.setErrorCode(SkDisplayXMLParserError::kErrorInAttributeValue); |
return; |