Index: src/effects/SkBlurImageFilter.cpp |
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp |
index 39b58b856e730ba25d01d36d05aa613de7c81edb..d98f105518c5119e430baee1b271d3b299ff8d45 100644 |
--- a/src/effects/SkBlurImageFilter.cpp |
+++ b/src/effects/SkBlurImageFilter.cpp |
@@ -132,9 +132,11 @@ sk_sp<SkSpecialImage> SkBlurImageFilter::onFilterImage(SkSpecialImage* source, |
return nullptr; |
} |
+ // TODO: Get the colorSpace from the drawContext (once it has one) |
return SkSpecialImage::MakeFromGpu(SkIRect::MakeWH(dstBounds.width(), dstBounds.height()), |
kNeedNewImageUniqueID_SpecialImage, |
- drawContext->asTexture(), &source->props()); |
+ drawContext->asTexture(), |
+ sk_ref_sp(input->getColorSpace()), &source->props()); |
} |
#endif |