Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: gm/colorfilters.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/colorfilterimagefilter.cpp ('k') | gm/colormatrix.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « gm/colorfilterimagefilter.cpp ('k') | gm/colormatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698