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

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

Issue 2462803002: Plumb color space to DecodingImageGenerator and ImageFrameGenerator (Closed)
Patch Set: Incorporate review feedback 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/ImageSource.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
index d0b044c54bcc34fd8303958de092df46ebbcf119..2240bb2160a37865045e6fd24db7cf3f29b42587 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
@@ -73,7 +73,7 @@ bool ImageSource::isSizeAvailable() {
}
bool ImageSource::hasColorProfile() const {
- return m_decoder && m_decoder->hasColorSpace();
+ return m_decoder && m_decoder->hasEmbeddedColorSpace();
}
IntSize ImageSource::size(

Powered by Google App Engine
This is Rietveld 408576698