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

Unified Diff: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.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
Index: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
index 4f5baec3aaca935e218d3efc0bd7f9a64304d510..f1d9fab0f870d5452e9a8b48c1bd3584df7d731d 100644
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp
@@ -142,7 +142,7 @@ SkImageGenerator* DecodingImageGenerator::create(SkData* data) {
// don't really matter.
std::unique_ptr<ImageDecoder> decoder = ImageDecoder::create(
segmentReader, true, ImageDecoder::AlphaPremultiplied,
- ImageDecoder::GammaAndColorProfileApplied);
+ ImageDecoder::ColorSpaceApplied);
if (!decoder || !decoder->isSizeAvailable())
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698