Index: src/effects/gradients/SkTwoPointConicalGradient.h |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.h b/src/effects/gradients/SkTwoPointConicalGradient.h |
index 608ea767136fa9746963de8b68306f2688b22ba1..c43f682c520cc57cf075979536d9e43aa9bc7f7b 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.h |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.h |
@@ -64,8 +64,8 @@ public: |
SkMatrix* matrix, |
TileMode* xy) const; |
virtual SkShader::GradientType asAGradient(GradientInfo* info) const SK_OVERRIDE; |
- virtual bool asNewEffect(GrContext*, const SkPaint&, const SkMatrix*, GrColor* paintColor, |
- GrEffect**) const SK_OVERRIDE; |
+ virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, |
+ GrFragmentProcessor**) const SK_OVERRIDE; |
virtual bool isOpaque() const SK_OVERRIDE; |
SkScalar getCenterX1() const { return SkPoint::Distance(fCenter1, fCenter2); } |