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

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

Powered by Google App Engine
This is Rietveld 408576698