Index: src/effects/gradients/SkSweepGradient.h |
diff --git a/src/effects/gradients/SkSweepGradient.h b/src/effects/gradients/SkSweepGradient.h |
index 15c5b634aee65d1cf33419457becf160df54f8b6..9ddd1e25d52e530a8b474627cce06d8e38b5766f 100644 |
--- a/src/effects/gradients/SkSweepGradient.h |
+++ b/src/effects/gradients/SkSweepGradient.h |
@@ -16,15 +16,12 @@ public: |
SkSweepGradient(SkScalar cx, SkScalar cy, const Descriptor&, |
const SkMatrix* localMatrix); |
- virtual SkShader::Context* createContext(const SkBitmap&, const SkPaint&, const SkMatrix&, |
- void* storage) const SK_OVERRIDE; |
+ virtual SkShader::Context* createContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
virtual size_t contextSize() const SK_OVERRIDE; |
class SweepGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { |
public: |
- SweepGradientContext(const SkSweepGradient& shader, const SkBitmap& device, |
- const SkPaint& paint, const SkMatrix& matrix); |
- ~SweepGradientContext() {} |
+ SweepGradientContext(const SkSweepGradient& shader, const ContextRec&); |
virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; |
virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE; |