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

Unified Diff: ui/compositor/compositor.cc

Issue 2945453002: color: Use base::Feature to control color correct rendering (Closed)
Patch Set: Add histogram enum Created 3 years, 6 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 | « tools/metrics/histograms/enums.xml ('k') | ui/compositor/compositor_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index e76925d0c600749f41fe3855480c1550ece8f2d1..d8a01504f4cb3df59e2398c95fc5def874fb6119 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -134,7 +134,7 @@ Compositor::Compositor(const cc::FrameSinkId& frame_sink_id,
command_line->HasSwitch(cc::switches::kUIEnableLayerLists);
settings.enable_color_correct_rasterization =
- command_line->HasSwitch(switches::kEnableColorCorrectRendering);
+ base::FeatureList::IsEnabled(features::kColorCorrectRendering);
// UI compositor always uses partial raster if not using zero-copy. Zero copy
// doesn't currently support partial raster.
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | ui/compositor/compositor_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698