Index: gm/xfermodes.cpp |
diff --git a/gm/xfermodes.cpp b/gm/xfermodes.cpp |
index aae8cbd2341ae1de4e11014d62790552f41f7cd6..bc1bc7ff73bdfb98100b09d755a7847df7f81935 100644 |
--- a/gm/xfermodes.cpp |
+++ b/gm/xfermodes.cpp |
@@ -255,14 +255,14 @@ protected: |
p.setShader(s); |
canvas->drawRect(r, p); |
- canvas->saveLayer(&r, NULL); |
+ canvas->saveLayer(&r, nullptr); |
draw_mode(canvas, mode, static_cast<SrcType>(sourceType), |
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); |
#if 1 |