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

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

Issue 2942873002: Fix the color issue in CMYK jpeg images.
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
index 2b00aa0e76c36796887ca12abff14001fd828d5a..000ab94cdf70060c3f62b445bcd21c95b5e1314f 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
@@ -223,7 +223,9 @@ class PLATFORM_EXPORT ImageDecoder {
bool HasEmbeddedColorSpace() const { return embedded_color_space_.get(); }
// Set the embedded color space directly or via ICC profile.
- void SetEmbeddedColorProfile(const char* icc_data, unsigned icc_length);
+ void SetEmbeddedColorProfile(const char* icc_data,
+ unsigned icc_length,
+ SkColorSpace::ICCTypeFlag);
void SetEmbeddedColorSpace(sk_sp<SkColorSpace> src_space);
// Transformation from embedded color space to target color space.
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698