Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.h

Issue 2523943002: Explicitly specify target color space to ImageDecoder at creation (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.h
index 348458de1f3d97b5ec2d700996ef03c76b2bb06f..aec7045ba6724850cb79a4e94d62d5c1dbb3a2d2 100644
--- a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoder.h
@@ -39,7 +39,10 @@ namespace blink {
// This class decodes the BMP image format.
class PLATFORM_EXPORT BMPImageDecoder final : public ImageDecoder {
public:
- BMPImageDecoder(AlphaOption, ColorSpaceOption, size_t maxDecodedBytes);
+ BMPImageDecoder(AlphaOption,
+ ColorSpaceOption,
+ sk_sp<SkColorSpace>,
+ size_t maxDecodedBytes);
// ImageDecoder:
String filenameExtension() const override { return "bmp"; }

Powered by Google App Engine
This is Rietveld 408576698