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 /gm/colormatrix.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 'gm/colormatrix.cpp')
-rw-r--r-- | gm/colormatrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/colormatrix.cpp b/gm/colormatrix.cpp index a80f8cb581..b466188c6a 100644 --- a/gm/colormatrix.cpp +++ b/gm/colormatrix.cpp @@ -67,7 +67,7 @@ protected: SkPoint pts[] = {{0, 0}, {SkIntToScalar(width), SkIntToScalar(height)}}; SkColor colors[] = {0x00000000, 0xFFFFFFFF}; SkPaint paint; - paint.setShader(SkGradientShader::CreateLinear(pts, colors, NULL, 2, + paint.setShader(SkGradientShader::CreateLinear(pts, colors, nullptr, 2, SkShader::kClamp_TileMode))->unref(); canvas.drawRect(SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)), paint); return SkImage::NewFromBitmap(bm); |