Index: gm/hairmodes.cpp |
diff --git a/gm/hairmodes.cpp b/gm/hairmodes.cpp |
index 74eda7b9133a5b5e828c5dcea8d60f2c55ae4b18..4f85c198836d5d3c607c63799b109d30c27e5df6 100644 |
--- a/gm/hairmodes.cpp |
+++ b/gm/hairmodes.cpp |
@@ -106,7 +106,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]); |