Index: content/renderer/gpu/render_widget_compositor.cc |
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc |
index 57b2fd8b7c734092b8bf3cf7a647420b789266e1..6c518751ce4e3c3eb3ebe30780edf00cdb91accf 100644 |
--- a/content/renderer/gpu/render_widget_compositor.cc |
+++ b/content/renderer/gpu/render_widget_compositor.cc |
@@ -344,7 +344,8 @@ cc::LayerTreeSettings RenderWidgetCompositor::GenerateLayerTreeSettings( |
settings.renderer_settings.use_gpu_memory_buffer_resources = |
compositor_deps->IsGpuMemoryBufferCompositorResourcesEnabled(); |
settings.enable_color_correct_rendering = |
- cmd.HasSwitch(cc::switches::kEnableColorCorrectRendering); |
+ cmd.HasSwitch(cc::switches::kEnableColorCorrectRendering) || |
+ cmd.HasSwitch(cc::switches::kEnableTrueColorRendering); |
settings.renderer_settings.buffer_to_texture_target_map = |
compositor_deps->GetBufferToTextureTargetMap(); |
settings.image_decode_tasks_enabled = |