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

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

Issue 2556723003: Merge color options into ColorBehavior (Closed)
Patch Set: Feedback Created 4 years 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 8eef42ba6e096afe134e516ca9c1b817019d6b9e..d65014a47dfd5271cdd252e7c1605af4a30552be 100644
--- a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
@@ -37,10 +37,7 @@ class PLATFORM_EXPORT JPEGImageDecoder final : public ImageDecoder {
WTF_MAKE_NONCOPYABLE(JPEGImageDecoder);
public:
- JPEGImageDecoder(AlphaOption,
- ColorSpaceOption,
- sk_sp<SkColorSpace>,
- size_t maxDecodedBytes);
+ JPEGImageDecoder(AlphaOption, const ColorBehavior&, size_t maxDecodedBytes);
~JPEGImageDecoder() override;
// ImageDecoder:

Powered by Google App Engine
This is Rietveld 408576698