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