Index: src/svg/parser/SkSVGGradient.cpp |
diff --git a/src/svg/parser/SkSVGGradient.cpp b/src/svg/parser/SkSVGGradient.cpp |
index bbcca18f398a59f4ce49f47818cfc29364bf2a97..0f7c6bab7e41b9baeed52165cc0d5028b376af58 100644 |
--- a/src/svg/parser/SkSVGGradient.cpp |
+++ b/src/svg/parser/SkSVGGradient.cpp |
@@ -33,7 +33,7 @@ void SkSVGGradient::translate(SkSVGParser& parser, bool defState) { |
bool addedFirst = false; |
bool addedLast = false; |
SkString offsets("["); |
- SkString* lastOffset = NULL; |
+ SkString* lastOffset = nullptr; |
for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { |
SkASSERT((*ptr)->getType() == SkSVGType_Stop); |
SkSVGStop* stop = (SkSVGStop*) *ptr; |