Index: src/effects/SkBlendImageFilter.cpp |
diff --git a/src/effects/SkBlendImageFilter.cpp b/src/effects/SkBlendImageFilter.cpp |
index 1c40ca8a39b5eb846d437abd59461e7a2ab1c92f..9aae35a45023b2f31803c08edcec14bac9db80f6 100644 |
--- a/src/effects/SkBlendImageFilter.cpp |
+++ b/src/effects/SkBlendImageFilter.cpp |
@@ -194,8 +194,9 @@ bool SkBlendImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBit |
GrContext::AutoRenderTarget art(context, dst->asRenderTarget()); |
GrPaint paint; |
- paint.colorStage(0)->setEffect( |
- GrBlendEffect::Create(fMode, foreground, foregroundOffset, background, backgroundOffset))->unref(); |
+ paint.addColorEffect(GrBlendEffect::Create(fMode, |
+ foreground, foregroundOffset, |
+ background, backgroundOffset))->unref(); |
SkRect srcRect; |
src.getBounds(&srcRect); |
context->drawRect(paint, srcRect); |