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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.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/jpeg/JPEGImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
index 11a540cf831630aa73daf59c1a0b5816dc1246f7..8eef42ba6e096afe134e516ca9c1b817019d6b9e 100644
--- a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
@@ -37,7 +37,10 @@ class PLATFORM_EXPORT JPEGImageDecoder final : public ImageDecoder {
WTF_MAKE_NONCOPYABLE(JPEGImageDecoder);
public:
- JPEGImageDecoder(AlphaOption, ColorSpaceOption, size_t maxDecodedBytes);
+ JPEGImageDecoder(AlphaOption,
+ ColorSpaceOption,
+ sk_sp<SkColorSpace>,
+ size_t maxDecodedBytes);
~JPEGImageDecoder() override;
// ImageDecoder:

Powered by Google App Engine
This is Rietveld 408576698