Index: samplecode/SampleAARectModes.cpp |
diff --git a/samplecode/SampleAARectModes.cpp b/samplecode/SampleAARectModes.cpp |
index f9972aea9bc95052f764b18f9918600d2fd64599..ae28925a428cbb8e3f4c8db9b11d3466e2673e05 100644 |
--- a/samplecode/SampleAARectModes.cpp |
+++ b/samplecode/SampleAARectModes.cpp |
@@ -112,7 +112,7 @@ protected: |
SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); |
canvas->drawRect(bounds, fBGPaint); |
- canvas->saveLayer(&bounds, NULL); |
+ canvas->saveLayer(&bounds, nullptr); |
SkScalar dy = drawCell(canvas, mode, |
gAlphaValue[alpha & 1], |
gAlphaValue[alpha & 2]); |