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

Unified Diff: content/test/layouttest_support.cc

Issue 2945453002: color: Use base::Feature to control color correct rendering (Closed)
Patch Set: Make content shell only enable for layout tests (oops) Created 3 years, 6 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/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 43bf078ae386578fd47c757a8b7b950f125acdec..a3aa9a095cac5b008667edaad3688ae399229271 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -345,7 +345,7 @@ class LayoutTestDependenciesImpl : public LayoutTestDependencies,
cc::RendererSettings renderer_settings;
base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
renderer_settings.enable_color_correct_rendering =
- cmd->HasSwitch(switches::kEnableColorCorrectRendering);
+ base::FeatureList::IsEnabled(features::kColorCorrectRendering);
renderer_settings.allow_antialiasing &=
!cmd->HasSwitch(cc::switches::kDisableCompositedAntialiasing);
renderer_settings.highp_threshold_min = 2048;

Powered by Google App Engine
This is Rietveld 408576698