Index: gm/aarectmodes.cpp |
diff --git a/gm/aarectmodes.cpp b/gm/aarectmodes.cpp |
index e0df7d84b18302a46995fcf0c882316985e6f8c1..fb5145bc5f840dd049614c3df05d9fc3a4f9ac63 100644 |
--- a/gm/aarectmodes.cpp |
+++ b/gm/aarectmodes.cpp |
@@ -161,7 +161,7 @@ namespace skiagm { |
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]); |