Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 540c9d7070be99f76c706f768567468ba43a7a77..ec6f77b5409c17e69f5cb1f68987650d2ef0c15c 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.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; |