Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 33caf75a9d1e0a539e52cb0108c36344bc9386de..ddd6449490ba0c0734cfaa925a610f24f704485b 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -127,7 +127,7 @@ bool SkImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBitmap* |
SkASSERT(effect); |
SkAutoUnref effectRef(effect); |
GrPaint paint; |
- paint.colorStage(0)->setEffect(effect); |
+ paint.addColorEffect(effect); |
context->drawRect(paint, rect); |
SkAutoTUnref<GrTexture> resultTex(dst.detach()); |
SkImageFilterUtils::WrapTexture(resultTex, input.width(), input.height(), result); |