| Index: src/effects/SkBicubicImageFilter.cpp
|
| diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp
|
| index a97a768de94de03cd600c81d97145e3ae5b9bfe9..5161f6dd8d3b7fff480f35332ba4adee91f523de 100644
|
| --- a/src/effects/SkBicubicImageFilter.cpp
|
| +++ b/src/effects/SkBicubicImageFilter.cpp
|
| @@ -365,7 +365,7 @@ bool SkBicubicImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkB
|
| }
|
| GrContext::AutoRenderTarget art(context, dst->asRenderTarget());
|
| GrPaint paint;
|
| - paint.colorStage(0)->setEffect(GrBicubicEffect::Create(srcTexture, fCoefficients))->unref();
|
| + paint.addColorEffect(GrBicubicEffect::Create(srcTexture, fCoefficients))->unref();
|
| SkRect srcRect;
|
| srcBM.getBounds(&srcRect);
|
| context->drawRectToRect(paint, dstRect, srcRect);
|
|
|