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

Unified Diff: ui/compositor/compositor.cc

Issue 2755583003: color: Remove flags for true color rendering (Closed)
Patch Set: Created 3 years, 9 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 | « third_party/WebKit/public/web/WebRuntimeFeatures.h ('k') | no next file » | 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 34ff8e9b5e7c6b5e81e6c0ed1f20c41fcce06af7..7637bcddf52384a381f5de613fa35ccbe1b988df 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -165,8 +165,7 @@ Compositor::Compositor(const cc::FrameSinkId& frame_sink_id,
command_line->HasSwitch(cc::switches::kUIEnableLayerLists);
settings.enable_color_correct_rasterization =
- command_line->HasSwitch(cc::switches::kEnableColorCorrectRendering) ||
- command_line->HasSwitch(cc::switches::kEnableTrueColorRendering);
+ command_line->HasSwitch(cc::switches::kEnableColorCorrectRendering);
settings.renderer_settings.enable_color_correct_rendering =
settings.enable_color_correct_rasterization ||
command_line->HasSwitch(switches::kEnableHDROutput);
« no previous file with comments | « third_party/WebKit/public/web/WebRuntimeFeatures.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698