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

Unified Diff: third_party/WebKit/Source/platform/graphics/PictureSnapshot.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/PictureSnapshot.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
index ca01f71d06e5abfbe220102ccfb66f7bdb3698c6..608af47190b02fb7651c62d6e98ccdf9cbb1fd77 100644
--- a/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
@@ -67,7 +67,7 @@ class SkiaImageDecoder final : public SkImageDeserializer {
SegmentReader::createFromSkData(SkData::MakeWithoutCopy(data, length));
std::unique_ptr<ImageDecoder> imageDecoder = ImageDecoder::create(
segmentReader.release(), true, ImageDecoder::AlphaPremultiplied,
- ImageDecoder::GammaAndColorProfileIgnored);
+ ImageDecoder::ColorSpaceIgnored);
if (!imageDecoder)
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698