Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
index 5f5649fee72c6726889fd91616bb768658e6d49d..338360a6701775c2766f70c37930d214ff59994d 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.h |
@@ -53,7 +53,8 @@ class PLATFORM_EXPORT DeferredImageDecoder final { |
PassRefPtr<SharedBuffer> data, |
bool dataComplete, |
ImageDecoder::AlphaOption, |
- ImageDecoder::ColorSpaceOption); |
+ ImageDecoder::ColorSpaceOption, |
+ sk_sp<SkColorSpace> targetColorSpace); |
static std::unique_ptr<DeferredImageDecoder> createForTesting( |
std::unique_ptr<ImageDecoder>); |
@@ -106,6 +107,7 @@ class PLATFORM_EXPORT DeferredImageDecoder final { |
IntSize m_size; |
int m_repetitionCount; |
bool m_hasEmbeddedColorSpace = false; |
+ sk_sp<SkColorSpace> m_colorSpaceForSkImages; |
bool m_canYUVDecode; |
bool m_hasHotSpot; |
IntPoint m_hotSpot; |