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

Unified Diff: third_party/WebKit/Source/web/WebImageDecoder.cpp

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
« no previous file with comments | « third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebImageDecoder.cpp
diff --git a/third_party/WebKit/Source/web/WebImageDecoder.cpp b/third_party/WebKit/Source/web/WebImageDecoder.cpp
index 2a3dc70243708ff9764e241d4e19c9a4fe292c4c..b29cbbeb172379f5cea97623e8b8dec277b6c57c 100644
--- a/third_party/WebKit/Source/web/WebImageDecoder.cpp
+++ b/third_party/WebKit/Source/web/WebImageDecoder.cpp
@@ -50,14 +50,14 @@ void WebImageDecoder::init(Type type) {
switch (type) {
case TypeBMP:
- m_private = new BMPImageDecoder(ImageDecoder::AlphaPremultiplied,
- ImageDecoder::GammaAndColorProfileApplied,
- maxDecodedBytes);
+ m_private =
+ new BMPImageDecoder(ImageDecoder::AlphaPremultiplied,
+ ImageDecoder::ColorSpaceApplied, maxDecodedBytes);
break;
case TypeICO:
- m_private = new ICOImageDecoder(ImageDecoder::AlphaPremultiplied,
- ImageDecoder::GammaAndColorProfileApplied,
- maxDecodedBytes);
+ m_private =
+ new ICOImageDecoder(ImageDecoder::AlphaPremultiplied,
+ ImageDecoder::ColorSpaceApplied, maxDecodedBytes);
break;
}
}
« no previous file with comments | « third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698