Index: gm/colorfilters.cpp |
diff --git a/gm/colorfilters.cpp b/gm/colorfilters.cpp |
index 73ca7f318d20e3405a86d3e09f2617bb5cd15b2b..2d220d2c1d3ace23d7b68e71505b17f8d7ef9c8c 100644 |
--- a/gm/colorfilters.cpp |
+++ b/gm/colorfilters.cpp |
@@ -20,14 +20,14 @@ static SkShader* make_shader(const SkRect& bounds) { |
SK_ColorCYAN, SK_ColorMAGENTA, SK_ColorYELLOW, |
}; |
return SkGradientShader::CreateLinear(pts, |
- colors, NULL, SK_ARRAY_COUNT(colors), |
+ colors, nullptr, SK_ARRAY_COUNT(colors), |
SkShader::kClamp_TileMode); |
} |
typedef void (*InstallPaint)(SkPaint*, uint32_t, uint32_t); |
static void install_nothing(SkPaint* paint, uint32_t, uint32_t) { |
- paint->setColorFilter(NULL); |
+ paint->setColorFilter(nullptr); |
} |
static void install_lighting(SkPaint* paint, uint32_t mul, uint32_t add) { |