Index: src/core/SkLocalMatrixShader.h |
diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h |
index 352c1e31b39eee855655111032fc8898491c5377..b8e4714615eacd830ca0efd31aba7ed082caae01 100644 |
--- a/src/core/SkLocalMatrixShader.h |
+++ b/src/core/SkLocalMatrixShader.h |
@@ -34,19 +34,20 @@ public: |
#if SK_SUPPORT_GPU |
- virtual bool asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, |
- GrColor* grColor, GrEffect** grEffect) const SK_OVERRIDE { |
+ virtual bool asFragmentProcessor(GrContext* context, const SkPaint& paint, |
+ const SkMatrix* localMatrix, GrColor* grColor, |
+ GrFragmentProcessor** fp) const SK_OVERRIDE { |
SkMatrix tmp = this->getLocalMatrix(); |
if (localMatrix) { |
tmp.preConcat(*localMatrix); |
} |
- return fProxyShader->asNewEffect(context, paint, &tmp, grColor, grEffect); |
+ return fProxyShader->asFragmentProcessor(context, paint, &tmp, grColor, fp); |
} |
#else |
- virtual bool asNewEffect(GrContext* context, const SkPaint& paint, const SkMatrix* localMatrix, |
- GrColor* grColor, GrEffect** grEffect) const SK_OVERRIDE { |
+ virtual bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, GrColor*, |
+ GrFragmentProcessor**) const SK_OVERRIDE { |
SkDEBUGFAIL("Should not call in GPU-less build"); |
return false; |
} |