| Index: ui/compositor/compositor_util.cc
|
| diff --git a/ui/compositor/compositor_util.cc b/ui/compositor/compositor_util.cc
|
| index 20231eb09c35e0cffc6276e33ea3df7f752c5cb0..0ced0a7e6e56e76f233a7ead518c88880e418a34 100644
|
| --- a/ui/compositor/compositor_util.cc
|
| +++ b/ui/compositor/compositor_util.cc
|
| @@ -29,7 +29,7 @@ cc::RendererSettings CreateRendererSettings(uint32_t (
|
| renderer_settings.show_overdraw_feedback =
|
| command_line->HasSwitch(cc::switches::kShowOverdrawFeedback);
|
| renderer_settings.enable_color_correct_rendering =
|
| - command_line->HasSwitch(switches::kEnableColorCorrectRendering) ||
|
| + base::FeatureList::IsEnabled(features::kColorCorrectRendering) ||
|
| command_line->HasSwitch(switches::kEnableHDR);
|
| // Populate buffer_to_texture_target_map for all buffer usage/formats.
|
| for (int usage_idx = 0; usage_idx <= static_cast<int>(gfx::BufferUsage::LAST);
|
|
|