Index: samplecode/SampleBigGradient.cpp |
diff --git a/samplecode/SampleBigGradient.cpp b/samplecode/SampleBigGradient.cpp |
index c2e6225f5db44c899bfe651b88c3b08913c36109..0fa7969c7a34be715cb4717c69279f4bdaec824a 100644 |
--- a/samplecode/SampleBigGradient.cpp |
+++ b/samplecode/SampleBigGradient.cpp |
@@ -13,7 +13,7 @@ |
static SkShader* make_grad(SkScalar w, SkScalar h) { |
SkColor colors[] = { 0xFF000000, 0xFF333333 }; |
SkPoint pts[] = { { 0, 0 }, { w, h } }; |
- return SkGradientShader::CreateLinear(pts, colors, NULL, 2, |
+ return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, |
SkShader::kClamp_TileMode); |
} |