From 0deed4a3a0dd65e357900643b210a3cea7e3009a Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Mon, 18 Jul 2022 01:05:21 -0500 Subject: [PATCH] Update flags_state.cc --- src/components/flags_ui/flags_state.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/flags_ui/flags_state.cc b/src/components/flags_ui/flags_state.cc index 212e6a44..571f38c8 100644 --- a/src/components/flags_ui/flags_state.cc +++ b/src/components/flags_ui/flags_state.cc @@ -596,9 +596,6 @@ void FlagsState::GetFlagFeatureEntries( for (const FeatureEntry& entry : feature_entries_) { std::string desc = entry.visible_description; if (skip_feature_entry.Run(entry)) - if (flags::IsFlagExpired(flags_storage, entry.internal_name)) - desc.insert(0, "!!! NOTE: THIS FLAG IS EXPIRED AND MAY STOP FUNCTIONING OR BE REMOVED SOON !!! "); - else continue; base::Value::Dict data; @@ -984,7 +981,6 @@ bool FlagsState::IsSupportedFeature(const FlagsStorage* storage, if (!entry.InternalNameMatches(name)) continue; if (delegate_ && delegate_->ShouldExcludeFlag(storage, entry)) - if (!flags::IsFlagExpired(storage, entry.internal_name)) continue; return true; }