Index: samplecode/SampleClamp.cpp |
diff --git a/samplecode/SampleClamp.cpp b/samplecode/SampleClamp.cpp |
index 2368ab2051de1caf9957c9fcc7cfb60a34c67082..e319a56dc4f3d59f835a56536c0ce4b5cb945b17 100644 |
--- a/samplecode/SampleClamp.cpp |
+++ b/samplecode/SampleClamp.cpp |
@@ -16,7 +16,7 @@ |
static SkShader* make_linear() { |
SkPoint pts[] = { 0, 0, SK_Scalar1/500, SK_Scalar1/500 }; |
SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; |
- return SkGradientShader::CreateLinear(pts, colors, NULL, 2, |
+ return SkGradientShader::CreateLinear(pts, colors, nullptr, 2, |
SkShader::kClamp_TileMode); |
} |