Index: src/effects/SkImageSource.cpp |
diff --git a/src/effects/SkImageSource.cpp b/src/effects/SkImageSource.cpp |
index cf8cae2c3919da8634e3b40ac8b5cbd786ebdf80..6a4eb8d3aab1080080a07cf7f5282294b9e2550a 100644 |
--- a/src/effects/SkImageSource.cpp |
+++ b/src/effects/SkImageSource.cpp |
@@ -68,11 +68,13 @@ sk_sp<SkSpecialImage> SkImageSource::onFilterImage(SkSpecialImage* source, const |
offset->fX = offset->fY = 0; |
return SkSpecialImage::MakeFromImage(source->internal_getProxy(), |
SkIRect::MakeWH(fImage->width(), fImage->height()), |
- fImage); |
+ fImage, |
+ &source->props()); |
} |
const SkIRect dstIRect = dstRect.roundOut(); |
+ // SRGBTODO: Propagate SkColorType? |
bsalomon
2016/04/06 13:19:28
If Rob doesn't know the answer to this I'd check w
|
const SkImageInfo info = SkImageInfo::MakeN32(dstIRect.width(), dstIRect.height(), |
kPremul_SkAlphaType); |