Index: src/effects/SkXfermodeImageFilter.cpp |
diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp |
index 2311bb75f4ef07d2b1c001a1c0bc8efc787635e4..e443a008aa1d2f4457b1405de6f9af155ea2abd2 100644 |
--- a/src/effects/SkXfermodeImageFilter.cpp |
+++ b/src/effects/SkXfermodeImageFilter.cpp |
@@ -197,13 +197,12 @@ bool SkXfermodeImageFilter::filterImageGPU(Proxy* proxy, |
paint.addColorFragmentProcessor(xferFP)->unref(); |
} |
- SkAutoTUnref<GrDrawContext> drawContext(context->drawContext()); |
+ SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(dst->asRenderTarget())); |
if (!drawContext) { |
return false; |
} |
- drawContext->drawRect(dst->asRenderTarget(), GrClip::WideOpen(), paint, |
- SkMatrix::I(), srcRect); |
+ drawContext->drawRect(GrClip::WideOpen(), paint, SkMatrix::I(), srcRect); |
offset->fX = backgroundOffset.fX; |
offset->fY = backgroundOffset.fY; |