Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index f90b906b19f12902a3fb65d3ec6673a5d7a218c6..0aee983f7561eaa852059b04d0d21f88d39b043f 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -463,7 +463,7 @@ inline bool skPaint2GrPaintShader(SkGpuDevice* dev, |
GrContext::AutoWideOpenIdentityDraw awo(dev->context(), NULL); |
// setup the shader as the first color effect on the paint |
- SkAutoTUnref<GrEffectRef> effect(shader->asNewEffect(dev->context(), skPaint)); |
+ SkAutoTUnref<GrEffectRef> effect(shader->asNewEffect(dev->context(), skPaint, NULL)); |
if (NULL != effect.get()) { |
grPaint->addColorEffect(effect); |
// Now setup the rest of the paint. |