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

Unified Diff: content/browser/renderer_host/render_view_host_impl.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
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 503ca52ed78ba8b685b19c68fcb8fde7dc5f3712..752c352ef24b4558a268792a59dc5bf41eaac24b 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -496,16 +496,12 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
command_line.HasSwitch(switches::kMainFrameResizesAreOrientationChanges);
prefs.color_correct_rendering_enabled =
- command_line.HasSwitch(cc::switches::kEnableColorCorrectRendering) ||
- command_line.HasSwitch(cc::switches::kEnableTrueColorRendering);
+ command_line.HasSwitch(cc::switches::kEnableColorCorrectRendering);
prefs.color_correct_rendering_default_mode_enabled =
command_line.HasSwitch(
switches::kEnableColorCorrectRenderingDefaultMode);
- prefs.true_color_rendering_enabled =
- command_line.HasSwitch(cc::switches::kEnableTrueColorRendering);
-
prefs.spatial_navigation_enabled = command_line.HasSwitch(
switches::kEnableSpatialNavigation);
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698