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

Unified Diff: ui/compositor/compositor.cc

Issue 2530503003: Add --enable-true-color-rendering flag (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 63f72bc6178b815d9008fb0daff580c3ae1db9fd..bfdcf798dcf33b14c69f3016b6f434f8c4197a9c 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -154,7 +154,8 @@ Compositor::Compositor(ui::ContextFactory* context_factory,
command_line->HasSwitch(cc::switches::kUIEnableLayerLists);
settings.enable_color_correct_rendering =
- command_line->HasSwitch(cc::switches::kEnableColorCorrectRendering);
+ command_line->HasSwitch(cc::switches::kEnableColorCorrectRendering) ||
+ command_line->HasSwitch(cc::switches::kEnableTrueColorRendering);
// UI compositor always uses partial raster if not using zero-copy. Zero copy
// doesn't currently support partial raster.
« 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