| Index: src/core/SkLocalMatrixShader.h
|
| diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h
|
| index 1adfb0a730e62693e1cbb045c0080ed6f23558a9..ab4935fae271e2d90e0a0c54b5791fed41567c5c 100644
|
| --- a/src/core/SkLocalMatrixShader.h
|
| +++ b/src/core/SkLocalMatrixShader.h
|
| @@ -32,13 +32,15 @@ public:
|
| return fProxyShader->asAGradient(info);
|
| }
|
|
|
| - virtual GrEffectRef* asNewEffect(GrContext* ctx, const SkPaint& paint,
|
| - const SkMatrix* localMatrix) const SK_OVERRIDE {
|
| + virtual bool asNewEffect(GrContext* context, const SkPaint& paint, GrColor* grColor,
|
| + GrEffectRef** grEffect, const SkMatrix* localMatrix)
|
| + const SK_OVERRIDE {
|
| SkMatrix tmp = fProxyLocalMatrix;
|
| if (localMatrix) {
|
| tmp.preConcat(*localMatrix);
|
| }
|
| - return fProxyShader->asNewEffect(ctx, paint, &tmp);
|
| + fProxyShader->asNewEffect(context, paint, grColor, grEffect, &tmp);
|
| + return true;
|
| }
|
|
|
| virtual SkShader* refAsALocalMatrixShader(SkMatrix* localMatrix) const SK_OVERRIDE {
|
|
|