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

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

Issue 2530443004: Add target color profile to BitmapImage::draw (Closed)
Patch Set: 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/DeferredImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
index d7dbfaf45e177d3fcda55f3919df724fc973384c..e1266e0bd5296ae8bc207bb8f8424894826dffbb 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp
@@ -90,6 +90,7 @@ DeferredImageDecoder::DeferredImageDecoder(
std::unique_ptr<ImageDecoder> actualDecoder)
: m_allDataReceived(false),
m_actualDecoder(std::move(actualDecoder)),
+ m_targetColorSpace(m_actualDecoder->targetColorSpace()),
m_repetitionCount(cAnimationNone),
m_canYUVDecode(false),
m_hasHotSpot(false) {}

Powered by Google App Engine
This is Rietveld 408576698