Index: gm/imagealphathreshold.cpp |
diff --git a/gm/imagealphathreshold.cpp b/gm/imagealphathreshold.cpp |
index a418f0fe68d67741625408bad961a8697949735f..13a0ffa90b404fcf2a1c8c098940107ff5b1b2e5 100644 |
--- a/gm/imagealphathreshold.cpp |
+++ b/gm/imagealphathreshold.cpp |
@@ -47,7 +47,7 @@ protected: |
SkPaint paint; |
paint.setImageFilter( |
SkAlphaThresholdFilter::Create(region, 0.2f, 0.7f))->unref(); |
- canvas->saveLayer(NULL, &paint); |
+ canvas->saveLayer(nullptr, &paint); |
paint.setAntiAlias(true); |
SkPaint rect_paint; |