diff options
Diffstat (limited to 'www/chromium-uc/patches/extra/ungoogled-chromium/keep-expired-flags.patch')
| -rw-r--r-- | www/chromium-uc/patches/extra/ungoogled-chromium/keep-expired-flags.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/chromium-uc/patches/extra/ungoogled-chromium/keep-expired-flags.patch b/www/chromium-uc/patches/extra/ungoogled-chromium/keep-expired-flags.patch index 75d9176..9f9df17 100644 --- a/www/chromium-uc/patches/extra/ungoogled-chromium/keep-expired-flags.patch +++ b/www/chromium-uc/patches/extra/ungoogled-chromium/keep-expired-flags.patch | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | --- a/components/flags_ui/flags_state.cc | 1 | --- components/flags_ui/flags_state.cc.orig |
| 2 | +++ b/components/flags_ui/flags_state.cc | 2 | +++ components/flags_ui/flags_state.cc |
| 3 | @@ -22,6 +22,7 @@ | 3 | @@ -22,6 +22,7 @@ |
| 4 | #include "base/values.h" | 4 | #include "base/values.h" |
| 5 | #include "build/build_config.h" | 5 | #include "build/build_config.h" |
| @@ -8,7 +8,7 @@ | |||
| 8 | #include "components/flags_ui/feature_entry.h" | 8 | #include "components/flags_ui/feature_entry.h" |
| 9 | #include "components/flags_ui/flags_storage.h" | 9 | #include "components/flags_ui/flags_storage.h" |
| 10 | #include "components/flags_ui/flags_ui_switches.h" | 10 | #include "components/flags_ui/flags_ui_switches.h" |
| 11 | @@ -556,14 +557,18 @@ void FlagsState::GetFlagFeatureEntries( | 11 | @@ -577,14 +578,18 @@ void FlagsState::GetFlagFeatureEntries( |
| 12 | int current_platform = GetCurrentPlatform(); | 12 | int current_platform = GetCurrentPlatform(); |
| 13 | 13 | ||
| 14 | for (const FeatureEntry& entry : feature_entries_) { | 14 | for (const FeatureEntry& entry : feature_entries_) { |
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | base::Value supported_platforms(base::Value::Type::LIST); | 29 | base::Value supported_platforms(base::Value::Type::LIST); |
| 30 | AddOsStrings(entry.supported_platforms, &supported_platforms); | 30 | AddOsStrings(entry.supported_platforms, &supported_platforms); |
| 31 | @@ -882,6 +887,7 @@ bool FlagsState::IsSupportedFeature(cons | 31 | @@ -901,6 +906,7 @@ bool FlagsState::IsSupportedFeature(cons |
| 32 | if (!entry.InternalNameMatches(name)) | 32 | if (!entry.InternalNameMatches(name)) |
| 33 | continue; | 33 | continue; |
| 34 | if (delegate_ && delegate_->ShouldExcludeFlag(storage, entry)) | 34 | if (delegate_ && delegate_->ShouldExcludeFlag(storage, entry)) |
