Index: samplecode/SampleHairModes.cpp |
diff --git a/samplecode/SampleHairModes.cpp b/samplecode/SampleHairModes.cpp |
index 878857703e9c0a4f416746b26158299b89a500fb..ae41aa9c9d321f6c53aa6a3e229472586d5a3197 100644 |
--- a/samplecode/SampleHairModes.cpp |
+++ b/samplecode/SampleHairModes.cpp |
@@ -110,7 +110,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]); |