Index: gm/matrixconvolution.cpp |
diff --git a/gm/matrixconvolution.cpp b/gm/matrixconvolution.cpp |
index b912f90cfe1f186384027936021492b8617946ff..1e6a49d4b6b480c80a07bce7afb33cfc29b9c9dc 100644 |
--- a/gm/matrixconvolution.cpp |
+++ b/gm/matrixconvolution.cpp |
@@ -49,7 +49,7 @@ protected: |
void draw(SkCanvas* canvas, int x, int y, const SkIPoint& kernelOffset, |
SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha, |
- const SkImageFilter::CropRect* cropRect = NULL) { |
+ const SkImageFilter::CropRect* cropRect = nullptr) { |
SkScalar kernel[9] = { |
SkIntToScalar( 1), SkIntToScalar( 1), SkIntToScalar( 1), |
SkIntToScalar( 1), SkIntToScalar(-7), SkIntToScalar( 1), |
@@ -66,7 +66,7 @@ protected: |
kernelOffset, |
tileMode, |
convolveAlpha, |
- NULL, |
+ nullptr, |
cropRect)); |
paint.setImageFilter(filter); |
canvas->save(); |