Index: samplecode/SampleXfermodesBlur.cpp |
diff --git a/samplecode/SampleXfermodesBlur.cpp b/samplecode/SampleXfermodesBlur.cpp |
index fff4bed0a4b1addee2e13574601de83ddc35324b..a17a06e614f75271e7204a5b8fb1b6a741f668ba 100644 |
--- a/samplecode/SampleXfermodesBlur.cpp |
+++ b/samplecode/SampleXfermodesBlur.cpp |
@@ -178,13 +178,13 @@ protected: |
p.setShader(s); |
canvas->drawRect(r, p); |
- canvas->saveLayer(&r, NULL); |
+ canvas->saveLayer(&r, nullptr); |
draw_mode(canvas, mode, twice ? 0x88 : 0xFF, r.fLeft, r.fTop); |
canvas->restore(); |
r.inset(-SK_ScalarHalf, -SK_ScalarHalf); |
p.setStyle(SkPaint::kStroke_Style); |
- p.setShader(NULL); |
+ p.setShader(nullptr); |
canvas->drawRect(r, p); |
canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), |