Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index abd974b6fab0642dbb241d1c77d64fac8247729f..0066942200fe6d3afd23493c62a5b36edd74e4a4 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -177,10 +177,8 @@ void SkTwoPointConicalGradient::init() { |
SkTwoPointConicalGradient::SkTwoPointConicalGradient( |
const SkPoint& start, SkScalar startRadius, |
const SkPoint& end, SkScalar endRadius, |
- const SkColor colors[], const SkScalar pos[], |
- int colorCount, SkShader::TileMode mode, |
- SkUnitMapper* mapper) |
- : SkGradientShaderBase(colors, pos, colorCount, mode, mapper), |
+ const Descriptor& desc) |
+ : SkGradientShaderBase(desc), |
fCenter1(start), |
fCenter2(end), |
fRadius1(startRadius), |