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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp

Issue 2567983004: color: Add histograms for gamut (Closed)
Patch Set: merged Created 4 years 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/image-decoders/ImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
index a254a09092092b83ceede1cf22074b9daa1d1b40..52d9298feebe7fe063c31fef52fb0ea9ba93f7c7 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
@@ -175,7 +175,7 @@ ImageFrame* ImageDecoder::frameBufferAtIndex(size_t index) {
}
if (!m_hasHistogrammedColorSpace) {
- BitmapImageMetrics::countImageGamma(m_embeddedColorSpace.get());
+ BitmapImageMetrics::countImageGammaAndGamut(m_embeddedColorSpace.get());
m_hasHistogrammedColorSpace = true;
}
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698