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

Unified Diff: src/animator/SkTextToPath.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/animator/SkTextOnPath.cpp ('k') | src/animator/SkTypedArray.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/animator/SkTextOnPath.cpp ('k') | src/animator/SkTypedArray.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698