| Index: samplecode/SampleShaderText.cpp
|
| diff --git a/samplecode/SampleShaderText.cpp b/samplecode/SampleShaderText.cpp
|
| index cf7cf96a43e8f61eb2bf666858d7020504465396..f13fd4edc7927fb430c92ed6043e5033be6a473b 100644
|
| --- a/samplecode/SampleShaderText.cpp
|
| +++ b/samplecode/SampleShaderText.cpp
|
| @@ -50,8 +50,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) {
|
| @@ -182,7 +182,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();
|
|
|