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

Unified Diff: chrome/browser/about_flags.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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 722ff36e4fbd2be9ba147a2919d33765896ce5a2..f67992c21ce911d888fae4ebc5821849f9ec7b3a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -389,13 +389,6 @@ const FeatureEntry::Choice kEnableGpuRasterizationChoices[] = {
switches::kForceGpuRasterization, ""},
};
-const FeatureEntry::Choice kColorCorrectRenderingChoices[] = {
- {flags_ui::kGenericExperimentChoiceDefault, "", ""},
- {flags_ui::kGenericExperimentChoiceEnabled,
- switches::kEnableColorCorrectRendering, ""},
- {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
-};
-
const FeatureEntry::Choice kEnableWebGL2Choices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
{flags_ui::kGenericExperimentChoiceEnabled, switches::kEnableES3APIs, ""},
@@ -2948,7 +2941,7 @@ const FeatureEntry kFeatureEntries[] = {
{"enable-color-correct-rendering",
flag_descriptions::kColorCorrectRenderingName,
flag_descriptions::kColorCorrectRenderingDescription, kOsAll,
- MULTI_VALUE_TYPE(kColorCorrectRenderingChoices)},
+ FEATURE_VALUE_TYPE(features::kColorCorrectRendering)},
#if defined(OS_CHROMEOS)
{"quick-unlock-pin-signin", flag_descriptions::kQuickUnlockPinSignin,

Powered by Google App Engine
This is Rietveld 408576698