Index: gm/colormatrix.cpp |
diff --git a/gm/colormatrix.cpp b/gm/colormatrix.cpp |
index a80f8cb5814ac92cb8b86da34ff66f3270587b02..b466188c6a063c484a2899d6dc4ca3121508155f 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); |