Index: src/effects/gradients/SkTwoPointRadialGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointRadialGradient.cpp b/src/effects/gradients/SkTwoPointRadialGradient.cpp |
index f70b67d47953910544e12dbbaf9d7d3378328cd3..989c1395563145122a0f13e88a5822011adcbd83 100644 |
--- a/src/effects/gradients/SkTwoPointRadialGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointRadialGradient.cpp |
@@ -170,10 +170,8 @@ void shadeSpan_twopoint_repeat(SkScalar fx, SkScalar dx, |
SkTwoPointRadialGradient::SkTwoPointRadialGradient( |
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), |