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

Unified Diff: third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp

Issue 2523943002: Explicitly specify target color space to ImageDecoder at creation (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 aa01136216c92dc586250b70f0400d546e885bac..1a4814618b6c885ae2e473edb961e504a8c8b888 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::ColorSpaceIgnored);
+ ImageDecoder::ColorSpaceIgnored, nullptr);
if (!imageDecoder)
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698