Index: src/effects/gradients/SkLinearGradient.h |
diff --git a/src/effects/gradients/SkLinearGradient.h b/src/effects/gradients/SkLinearGradient.h |
index ff1796bd1ffd6b57cc525ec88a2cd526822f42b1..24c6caba7b33122999788c419b1c6582ce1e4ea8 100644 |
--- a/src/effects/gradients/SkLinearGradient.h |
+++ b/src/effects/gradients/SkLinearGradient.h |
@@ -13,9 +13,7 @@ |
class SkLinearGradient : public SkGradientShaderBase { |
public: |
- SkLinearGradient(const SkPoint pts[2], |
- const SkColor colors[], const SkScalar pos[], int colorCount, |
- SkShader::TileMode mode, SkUnitMapper* mapper); |
+ SkLinearGradient(const SkPoint pts[2], const Descriptor&); |
virtual bool setContext(const SkBitmap&, const SkPaint&, const SkMatrix&) SK_OVERRIDE; |
virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; |