42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
Date: Sat, 23 Jan 2021 17:47:21 +0100
|
|
Subject: Revert "flags: remove num-raster-threads"
|
|
|
|
This reverts commit 2a51528a1737e9038f7f96f29403032a6a845a25.
|
|
|
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
|
---
|
|
...Revert-flags-remove-num-raster-threads.inc | 23 +++++++++++++++++++
|
|
1 file changed, 23 insertions(+)
|
|
create mode 100644 cromite_flags/chrome/browser/about_flags_cc/Revert-flags-remove-num-raster-threads.inc
|
|
|
|
diff --git a/cromite_flags/chrome/browser/about_flags_cc/Revert-flags-remove-num-raster-threads.inc b/cromite_flags/chrome/browser/about_flags_cc/Revert-flags-remove-num-raster-threads.inc
|
|
new file mode 100644
|
|
--- /dev/null
|
|
+++ b/cromite_flags/chrome/browser/about_flags_cc/Revert-flags-remove-num-raster-threads.inc
|
|
@@ -0,0 +1,23 @@
|
|
+#if BUILDFLAG(IS_ANDROID)
|
|
+
|
|
+#ifdef FEATURE_PARAM_SECTION
|
|
+
|
|
+const FeatureEntry::Choice kNumRasterThreadsChoices[] = {
|
|
+ {flags_ui::kGenericExperimentChoiceDefault, "", ""},
|
|
+ {"1", switches::kNumRasterThreads, "1"},
|
|
+ {"2", switches::kNumRasterThreads, "2"},
|
|
+ {"3", switches::kNumRasterThreads, "3"},
|
|
+ {"4", switches::kNumRasterThreads, "4"}};
|
|
+
|
|
+#endif
|
|
+
|
|
+#ifdef FLAG_SECTION
|
|
+
|
|
+ {"num-raster-threads",
|
|
+ "Number of raster threads",
|
|
+ "Specify the number of raster threads.", kOsAll,
|
|
+ MULTI_VALUE_TYPE(kNumRasterThreadsChoices)},
|
|
+
|
|
+#endif
|
|
+
|
|
+#endif
|
|
--
|