Index: gm/glyph_pos_align.cpp |
diff --git a/gm/glyph_pos_align.cpp b/gm/glyph_pos_align.cpp |
index e8528047aa5dabfc0149e53b46445c29cf5e56cb..9add494ffd035a24455c3e8f1d1886b378ab951a 100644 |
--- a/gm/glyph_pos_align.cpp |
+++ b/gm/glyph_pos_align.cpp |
@@ -36,7 +36,7 @@ protected: |
paint.setFakeBoldText(true); |
const SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; |
const SkPoint pts[] = {{0, 0}, {kWidth, kHeight}}; |
- SkAutoTUnref<SkShader> grad(SkGradientShader::CreateLinear(pts, colors, NULL, |
+ SkAutoTUnref<SkShader> grad(SkGradientShader::CreateLinear(pts, colors, nullptr, |
SK_ARRAY_COUNT(colors), |
SkShader::kMirror_TileMode)); |
paint.setShader(grad); |