Index: src/effects/gradients/SkLinearGradient.h |
diff --git a/src/effects/gradients/SkLinearGradient.h b/src/effects/gradients/SkLinearGradient.h |
index 68901064dfcdb3f2f3e3a30abb2205763b413586..eb6c76e2e3e33dcb4024ff6260d116418883b562 100644 |
--- a/src/effects/gradients/SkLinearGradient.h |
+++ b/src/effects/gradients/SkLinearGradient.h |
@@ -30,8 +30,8 @@ public: |
virtual BitmapType asABitmap(SkBitmap*, SkMatrix*, TileMode*) const SK_OVERRIDE; |
virtual GradientType asAGradient(GradientInfo* info) const SK_OVERRIDE; |
- virtual bool asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, |
- GrColor* paintColor, GrEffect** effect) const SK_OVERRIDE; |
+ virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, |
+ GrColor*, GrFragmentProcessor**) const SK_OVERRIDE; |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLinearGradient) |