Index: gm/lumafilter.cpp |
diff --git a/gm/lumafilter.cpp b/gm/lumafilter.cpp |
index 46a22f84c4cdfed60c57679aae339bf09653ff2e..3244b2b055628f7fe3497d17a6fae87ab37d6e0a 100644 |
--- a/gm/lumafilter.cpp |
+++ b/gm/lumafilter.cpp |
@@ -38,7 +38,7 @@ static void draw_scene(SkCanvas* canvas, SkColorFilter* filter, |
paint.setARGB(0x20, 0, 0, 0xff); |
canvas->drawRect(bounds, paint); |
- canvas->saveLayer(&bounds, NULL); |
+ canvas->saveLayer(&bounds, nullptr); |
r = bounds; |
r.inset(kInset, 0); |
@@ -119,9 +119,9 @@ protected: |
SkShader* fShader1; |
SkShader* fShader2; |
} shaders[] = { |
- { NULL, NULL }, |
- { NULL, fGr2 }, |
- { fGr1, NULL }, |
+ { nullptr, nullptr }, |
+ { nullptr, fGr2 }, |
+ { fGr1, nullptr }, |
{ fGr1, fGr2 }, |
}; |