Index: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp |
diff --git a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp |
index ad39b9977d50c72fcbd39637165fd7e1bb19126f..eb034f26741bef9d6975c834778da0c270a54d51 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp |
+++ b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.cpp |
@@ -42,8 +42,12 @@ static const size_t sizeOfFileHeader = 14; |
BMPImageDecoder::BMPImageDecoder(AlphaOption alphaOption, |
ColorSpaceOption colorOptions, |
+ sk_sp<SkColorSpace> targetColorSpace, |
size_t maxDecodedBytes) |
- : ImageDecoder(alphaOption, colorOptions, maxDecodedBytes), |
+ : ImageDecoder(alphaOption, |
+ colorOptions, |
+ std::move(targetColorSpace), |
+ maxDecodedBytes), |
m_decodedOffset(0) {} |
void BMPImageDecoder::onSetData(SegmentReader* data) { |