From 96fcdcc219d2a0d3579719b84b28bede76efba64 Mon Sep 17 00:00:00 2001 From: halcanary Date: Thu, 27 Aug 2015 07:41:13 -0700 Subject: Style Change: NULL->nullptr DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002 --- gm/shadertext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gm/shadertext.cpp') 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(); -- cgit v1.2.3