Index: gm/alphagradients.cpp |
diff --git a/gm/alphagradients.cpp b/gm/alphagradients.cpp |
index e63fbc9f472cd536bea025bdcd8c92df21deb238..d10828867d1751a0f0f7cf6e74afd6e20be49d86 100644 |
--- a/gm/alphagradients.cpp |
+++ b/gm/alphagradients.cpp |
@@ -29,8 +29,7 @@ protected: |
SkPaint paint; |
uint32_t flags = doPreMul ? SkGradientShader::kInterpolateColorsInPremul_Flag : 0; |
SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, |
- SkShader::kClamp_TileMode, |
- NULL, flags); |
+ SkShader::kClamp_TileMode, flags, NULL); |
paint.setShader(s)->unref(); |
canvas->drawRect(r, paint); |