Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 85176d69b73ee7cf4887b4ab14f29a491fdff0b3..66a07c4169d15d088c004dacd5ba3781ca42c7d1 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -423,8 +423,7 @@ bool SkBlurMaskFilterImpl::filterMaskGPU(GrTexture* src, |
matrix.setIDiv(src->width(), src->height()); |
// Blend pathTexture over blurTexture. |
GrContext::AutoRenderTarget art(context, (*result)->asRenderTarget()); |
- paint.colorStage(0)->setEffect( |
- GrSimpleTextureEffect::Create(src, matrix))->unref(); |
+ paint.addColorEffect(GrSimpleTextureEffect::Create(src, matrix))->unref(); |
if (SkBlurMaskFilter::kInner_BlurStyle == fBlurStyle) { |
// inner: dst = dst * src |
paint.setBlendFunc(kDC_GrBlendCoeff, kZero_GrBlendCoeff); |