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