diff options
Diffstat (limited to 'www/iridium/files/patch-components_autofill_core_browser_data__model_autofill__i18n__api.h')
-rw-r--r-- | www/iridium/files/patch-components_autofill_core_browser_data__model_autofill__i18n__api.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/iridium/files/patch-components_autofill_core_browser_data__model_autofill__i18n__api.h b/www/iridium/files/patch-components_autofill_core_browser_data__model_autofill__i18n__api.h new file mode 100644 index 000000000000..ca0bf788b9ac --- /dev/null +++ b/www/iridium/files/patch-components_autofill_core_browser_data__model_autofill__i18n__api.h @@ -0,0 +1,16 @@ +--- components/autofill/core/browser/data_model/autofill_i18n_api.h.orig 2024-02-04 14:46:08 UTC ++++ components/autofill/core/browser/data_model/autofill_i18n_api.h +@@ -15,9 +15,13 @@ namespace autofill::i18n_model_definition { + // Country code that represents autofill's legacy address hierarchy model as + // stored `kAutofillModelRules`. As a workaround for GCC we declare the + // std::string constexpr first. ++// XXX ++#if 0 + constexpr inline std::string kLegacyHierarchyCountryCodeString{"XX"}; + constexpr AddressCountryCode kLegacyHierarchyCountryCode = + AddressCountryCode(kLegacyHierarchyCountryCodeString); ++#endif ++inline AddressCountryCode kLegacyHierarchyCountryCode = AddressCountryCode("XX"); + + // Creates an instance of the address hierarchy model corresponding to the + // provided country. All the nodes have empty values, except for the country |