| Index: src/effects/SkLightingImageFilter.cpp
|
| diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp
|
| index 71503b5a2edb484bd6c162786eeaf9394cc91baf..7de86fb9c3595b2b60dcea46d8c9f5d7a0e3c183 100644
|
| --- a/src/effects/SkLightingImageFilter.cpp
|
| +++ b/src/effects/SkLightingImageFilter.cpp
|
| @@ -453,9 +453,11 @@ sk_sp<SkSpecialImage> SkLightingImageFilterInternal::filterImageGPU(SkSpecialIma
|
| this->drawRect(drawContext.get(), inputTexture.get(), matrix, clip, bottomRight,
|
| kBottomRight_BoundaryMode, pSrcBounds, offsetBounds);
|
|
|
| + // TODO: Get the colorSpace from the drawContext (once it has one)
|
| return SkSpecialImage::MakeFromGpu(SkIRect::MakeWH(offsetBounds.width(), offsetBounds.height()),
|
| kNeedNewImageUniqueID_SpecialImage,
|
| - drawContext->asTexture());
|
| + drawContext->asTexture(),
|
| + sk_ref_sp(source->getColorSpace()));
|
| }
|
| #endif
|
|
|
|
|