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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h

Issue 2454123002: Refactor image decoders to use 'colorSpace' instead of 'colorProfile' (Closed)
Patch Set: Fix legacy ImageFrame Created 4 years, 2 months 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 f78f51c3f645508e50c8fdde93b67be58acb66f3..11a540cf831630aa73daf59c1a0b5816dc1246f7 100644
--- a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
@@ -37,9 +37,7 @@ class PLATFORM_EXPORT JPEGImageDecoder final : public ImageDecoder {
WTF_MAKE_NONCOPYABLE(JPEGImageDecoder);
public:
- JPEGImageDecoder(AlphaOption,
- GammaAndColorProfileOption,
- size_t maxDecodedBytes);
+ JPEGImageDecoder(AlphaOption, ColorSpaceOption, size_t maxDecodedBytes);
~JPEGImageDecoder() override;
// ImageDecoder:

Powered by Google App Engine
This is Rietveld 408576698