aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/shadertext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/shadertext.cpp')
-rw-r--r--gm/shadertext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/shadertext.cpp b/gm/shadertext.cpp
index fd74e7c6ce..e68ee98df0 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();