Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 3fce9c441c01a33bc2d4f1ac96b484d6552ba29e..f60d71078af364ed2d60a785dac85c984ec9b039 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -153,9 +153,8 @@ void shadeSpan16_radial_repeat(SkScalar sfx, SkScalar sdx, |
///////////////////////////////////////////////////////////////////// |
SkRadialGradient::SkRadialGradient(const SkPoint& center, SkScalar radius, |
- const SkColor colors[], const SkScalar pos[], int colorCount, |
- SkShader::TileMode mode, SkUnitMapper* mapper) |
- : SkGradientShaderBase(colors, pos, colorCount, mode, mapper), |
+ const Descriptor& desc) |
+ : SkGradientShaderBase(desc), |
fCenter(center), |
fRadius(radius) |
{ |