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

Unified Diff: chrome/browser/about_flags.cc

Issue 686013002: content: Enable 1-copy rasterizer on all platforms but Android and MacOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep disable-zero-copy in histograms.xml Created 6 years, 2 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 8881c9949c4104aa08c20ead636a1009a1ce48b6..39e61c626a7a1b957c3f6d81e05251f5699fb984 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -305,12 +305,12 @@ const Experiment::Choice kOverlayScrollbarChoices[] = {
};
#endif
-const Experiment::Choice kZeroCopyChoices[] = {
+const Experiment::Choice kOneCopyChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
{ IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
- switches::kEnableZeroCopy, ""},
+ switches::kEnableOneCopy, ""},
{ IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
- switches::kDisableZeroCopy, ""}
+ switches::kDisableOneCopy, ""}
};
#if defined(OS_ANDROID)
@@ -1550,14 +1550,14 @@ const Experiment kExperiments[] = {
IDS_FLAGS_ONE_COPY_NAME,
IDS_FLAGS_ONE_COPY_DESCRIPTION,
kOsAll,
- SINGLE_VALUE_TYPE(switches::kEnableOneCopy)
+ MULTI_VALUE_TYPE(kOneCopyChoices)
},
{
"enable-zero-copy",
IDS_FLAGS_ZERO_COPY_NAME,
IDS_FLAGS_ZERO_COPY_DESCRIPTION,
kOsAll,
- MULTI_VALUE_TYPE(kZeroCopyChoices)
+ SINGLE_VALUE_TYPE(switches::kEnableZeroCopy)
},
#if defined(OS_CHROMEOS)
{
« 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