Index: gm/shadertext.cpp |
diff --git a/gm/shadertext.cpp b/gm/shadertext.cpp |
index fd74e7c6ce603acf44f9efc63bb80afe690ca68b..e68ee98df04c1a419fd8c2569d3b6c145174b3da 100644 |
--- a/gm/shadertext.cpp |
+++ b/gm/shadertext.cpp |
@@ -42,8 +42,8 @@ static const SkColor gColors[] = { |
}; |
static const GradData gGradData[] = { |
- { 2, gColors, NULL }, |
- { 5, gColors, NULL }, |
+ { 2, gColors, nullptr }, |
+ { 5, gColors, nullptr }, |
}; |
static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { |
@@ -174,7 +174,7 @@ protected: |
++i; |
canvas->translate(SkIntToScalar((i / testsPerCol) * colWidth), |
SkIntToScalar((i % testsPerCol) * rowHeight)); |
- canvas->drawTextOnPath(text, textLen, path, NULL, paint); |
+ canvas->drawTextOnPath(text, textLen, path, nullptr, paint); |
canvas->restore(); |
} |
canvas->restore(); |