Index: gm/imagefilterscropexpand.cpp |
diff --git a/gm/imagefilterscropexpand.cpp b/gm/imagefilterscropexpand.cpp |
index 8f90fb14bd2f135b6c503bd0a55534df17a0c7be..cfbf13a759fb53d0fc506ed1d121a1d1ed83f1c8 100644 |
--- a/gm/imagefilterscropexpand.cpp |
+++ b/gm/imagefilterscropexpand.cpp |
@@ -68,7 +68,7 @@ protected: |
colors[0] = SK_ColorWHITE; |
colors[1] = SK_ColorBLACK; |
SkAutoTUnref<SkShader> shader( |
- SkGradientShader::CreateRadial(SkPoint::Make(x, y), radius, colors, NULL, 2, |
+ SkGradientShader::CreateRadial(SkPoint::Make(x, y), radius, colors, nullptr, 2, |
SkShader::kClamp_TileMode) |
); |
SkPaint paint; |
@@ -105,7 +105,7 @@ protected: |
SkAutoTUnref<SkImageFilter> gradient_circle_source( |
SkBitmapSource::Create(gradient_circle)); |
SkAutoTUnref<SkImageFilter> noop_cropped( |
- SkOffsetImageFilter::Create(0, 0, NULL, &crop_rect)); |
+ SkOffsetImageFilter::Create(0, 0, nullptr, &crop_rect)); |
SkScalar sk255 = SkIntToScalar(255); |
SkScalar matrix[20] = { 1, 0, 0, 0, 0, |
0, 1, 0, 0, sk255, |