Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 79b358cc0c2393d675e4656cca3f72b5d83de49e..a50b5c6bd644b14ed4b08a478edbf0bfa48c5e39 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -189,7 +189,8 @@ sk_sp<SkSpecialImage> SkGpuDevice::filterTexture(const SkDraw& draw, |
matrix.postTranslate(SkIntToScalar(-left), SkIntToScalar(-top)); |
const SkIRect clipBounds = draw.fRC->getBounds().makeOffset(-left, -top); |
SkAutoTUnref<SkImageFilterCache> cache(this->getImageFilterCache()); |
- SkImageFilter::Context ctx(matrix, clipBounds, cache.get()); |
+ SkImageFilter::OutputProperties outputProperties(fDrawContext->getColorSpace()); |
+ SkImageFilter::Context ctx(matrix, clipBounds, cache.get(), outputProperties); |
return filter->filterImage(srcImg, ctx, offset); |
} |