diff options
| author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
| commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
| tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /samplecode/SampleShaderText.cpp | |
| parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) | |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'samplecode/SampleShaderText.cpp')
| -rw-r--r-- | samplecode/SampleShaderText.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samplecode/SampleShaderText.cpp b/samplecode/SampleShaderText.cpp index cf7cf96a43..f13fd4edc7 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(); |
