aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/aarectmodes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/aarectmodes.cpp')
-rw-r--r--gm/aarectmodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/aarectmodes.cpp b/gm/aarectmodes.cpp
index e0df7d84b1..fb5145bc5f 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]);