Index: samplecode/SamplePatch.cpp |
diff --git a/samplecode/SamplePatch.cpp b/samplecode/SamplePatch.cpp |
index 09eb42f6aa9e88c98d4ee1aab4bed36e5b8c4b8a..fe94bbfd52812df1fd9edf2d3f26014d5fba03e6 100644 |
--- a/samplecode/SamplePatch.cpp |
+++ b/samplecode/SamplePatch.cpp |
@@ -42,7 +42,7 @@ static SkShader* make_shader1(const SkIPoint& size) { |
{ SkIntToScalar(size.fX), SkIntToScalar(size.fY) } }; |
SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorRED }; |
return SkGradientShader::CreateLinear(pts, colors, NULL, |
- SK_ARRAY_COUNT(colors), SkShader::kMirror_TileMode, NULL); |
+ SK_ARRAY_COUNT(colors), SkShader::kMirror_TileMode); |
} |
/////////////////////////////////////////////////////////////////////////////// |