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

Unified Diff: cc/output/color_lut_cache.cc

Issue 2229953003: Support for custom primaries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test updated Created 4 years, 4 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
« no previous file with comments | « no previous file | cc/quads/draw_quad_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/color_lut_cache.cc
diff --git a/cc/output/color_lut_cache.cc b/cc/output/color_lut_cache.cc
index 6b7a599361eb3d237c90058823bc33f2eb185f3e..7b1687236313f2135f658681b0882bf17f6039fa 100644
--- a/cc/output/color_lut_cache.cc
+++ b/cc/output/color_lut_cache.cc
@@ -46,7 +46,7 @@ unsigned int ColorLUTCache::MakeLUT(const gfx::ColorSpace& from,
}
std::unique_ptr<gfx::ColorTransform> transform(
gfx::ColorTransform::NewColorTransform(
- from, to, gfx::ColorTransform::Intent::PERCEPTUAL));
+ from, to, gfx::ColorTransform::Intent::INTENT_PERCEPTUAL));
int lut_entries = lut_samples * lut_samples * lut_samples;
float inverse = 1.0f / (lut_samples - 1);
« no previous file with comments | « no previous file | cc/quads/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698