Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 540c9d7070be99f76c706f768567468ba43a7a77..216f5368329f7911747d10ab7f93a19205806dd6 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -158,6 +158,9 @@ Compositor::Compositor(ui::ContextFactory* context_factory, |
settings.use_layer_lists = |
command_line->HasSwitch(cc::switches::kUIEnableLayerLists); |
+ settings.renderer_settings.enable_color_correct_rendering = |
+ command_line->HasSwitch(cc::switches::kEnableColorCorrectRendering); |
+ |
// UI compositor always uses partial raster if not using zero-copy. Zero copy |
// doesn't currently support partial raster. |
settings.use_partial_raster = !settings.use_zero_copy; |