aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkColorShader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkColorShader.h')
-rw-r--r--include/core/SkColorShader.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/core/SkColorShader.h b/include/core/SkColorShader.h
index 55d980b64e..dc45f2d6cb 100644
--- a/include/core/SkColorShader.h
+++ b/include/core/SkColorShader.h
@@ -54,9 +54,8 @@ public:
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(SkColorShader)