Index: gm/xfermodes2.cpp |
diff --git a/gm/xfermodes2.cpp b/gm/xfermodes2.cpp |
index 192a279bf4a42d74cc46e8e379661d6feccdd0dd..db48c03d20788118dc47aa5634c9d0dff3162854 100644 |
--- a/gm/xfermodes2.cpp |
+++ b/gm/xfermodes2.cpp |
@@ -55,7 +55,7 @@ protected: |
SkRect r = SkRect::MakeWH(w, h); |
canvas->drawRect(r, p); |
- canvas->saveLayer(&r, NULL); |
+ canvas->saveLayer(&r, nullptr); |
p.setShader(fDst); |
canvas->drawRect(r, p); |
@@ -67,8 +67,8 @@ protected: |
r.inset(-SK_ScalarHalf, -SK_ScalarHalf); |
p.setStyle(SkPaint::kStroke_Style); |
- p.setShader(NULL); |
- p.setXfermode(NULL); |
+ p.setShader(nullptr); |
+ p.setXfermode(nullptr); |
canvas->drawRect(r, p); |
canvas->restore(); |