Index: samplecode/SampleLayers.cpp |
diff --git a/samplecode/SampleLayers.cpp b/samplecode/SampleLayers.cpp |
index 51f02a1adef5d8a0043585ace6138d1c3a2f7c91..43f5d4236af8b52971f818e7a0b1b42297850743 100644 |
--- a/samplecode/SampleLayers.cpp |
+++ b/samplecode/SampleLayers.cpp |
@@ -31,7 +31,7 @@ static void make_paint(SkPaint* paint, const SkMatrix& localMatrix) { |
SkColor colors[] = { 0, SK_ColorWHITE }; |
SkPoint pts[] = { { 0, 0 }, { 0, SK_Scalar1*20 } }; |
SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode, |
- NULL, 0, &localMatrix); |
+ 0, &localMatrix); |
paint->setShader(s)->unref(); |
paint->setXfermodeMode(SkXfermode::kDstIn_Mode); |