Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 8d287b270462bee06ae14546cb8869c1e6db205b..7b64d1da1a40f85ef3b9a8d7f7e8f270e0469b82 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -305,7 +305,7 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src, |
GrContext::AutoRenderTarget art(context, dst->asRenderTarget()); |
GrPaint paint; |
- paint.colorStage(0)->setEffect( |
+ paint.addColorEffect( |
GrDisplacementMapEffect::Create(fXChannelSelector, |
fYChannelSelector, |
fScale, |