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

Unified Diff: chrome/browser/about_flags.cc

Issue 2945453002: color: Use base::Feature to control color correct rendering (Closed)
Patch Set: Add histogram enum 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index b376a1c7c5ac003c634e1b23d843085b2d6a39c0..eb04e582de306c293a7048ed89e25688c7ee410e 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, ""},
@@ -2944,7 +2937,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,
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698