You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
5.3 KiB
75 lines
5.3 KiB
6 months ago
|
diff -up chromium-124.0.6367.118/components/autofill/core/browser/data_model/autofill_i18n_api.h.me chromium-124.0.6367.118/components/autofill/core/browser/data_model/autofill_i18n_api.h
|
||
|
--- chromium-124.0.6367.118/components/autofill/core/browser/data_model/autofill_i18n_api.h.me 2024-05-07 07:58:10.202960298 +0200
|
||
|
+++ chromium-124.0.6367.118/components/autofill/core/browser/data_model/autofill_i18n_api.h 2024-05-07 07:59:29.413411767 +0200
|
||
|
@@ -16,8 +16,8 @@ namespace autofill::i18n_model_definitio
|
||
|
// 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.
|
||
|
-constexpr inline std::string kLegacyHierarchyCountryCodeString{"XX"};
|
||
|
-constexpr AddressCountryCode kLegacyHierarchyCountryCode =
|
||
|
+const inline std::string kLegacyHierarchyCountryCodeString{"XX"};
|
||
|
+const AddressCountryCode kLegacyHierarchyCountryCode =
|
||
|
AddressCountryCode(kLegacyHierarchyCountryCodeString);
|
||
|
|
||
|
// Creates an instance of the address hierarchy model corresponding to the
|
||
|
diff -up chromium-124.0.6367.118/components/autofill/core/browser/metrics/log_event.h.me chromium-124.0.6367.118/components/autofill/core/browser/metrics/log_event.h
|
||
|
--- chromium-124.0.6367.118/components/autofill/core/browser/metrics/log_event.h.me 2024-05-07 07:59:38.239573497 +0200
|
||
|
+++ chromium-124.0.6367.118/components/autofill/core/browser/metrics/log_event.h 2024-05-07 08:00:55.578990659 +0200
|
||
|
@@ -57,7 +57,7 @@ struct IsRequired {
|
||
|
// This function is not defined and consteval. Therefore, any evaluation will
|
||
|
// fail and fail at compile time.
|
||
|
template <typename T>
|
||
|
- consteval operator T(); // NOLINT
|
||
|
+ operator T(); // NOLINT
|
||
|
};
|
||
|
|
||
|
} // namespace internal
|
||
|
diff -up chromium-124.0.6367.118/components/history/core/browser/history_types.h.me chromium-124.0.6367.118/components/history/core/browser/history_types.h
|
||
|
--- chromium-124.0.6367.118/components/history/core/browser/history_types.h.me 2024-05-06 18:01:28.606845554 +0200
|
||
|
+++ chromium-124.0.6367.118/components/history/core/browser/history_types.h 2024-05-06 18:06:15.492751252 +0200
|
||
|
@@ -70,7 +70,7 @@ constexpr VisitedLinkID kInvalidVisitedL
|
||
|
typedef std::map<VisitID, VisitSource> VisitSourceMap;
|
||
|
|
||
|
// Constant used to represent that no app_id is used for matching.
|
||
|
-inline constexpr std::optional<std::string> kNoAppIdFilter = std::nullopt;
|
||
|
+inline const std::optional<std::string> kNoAppIdFilter = std::nullopt;
|
||
|
|
||
|
// VisitRow -------------------------------------------------------------------
|
||
|
|
||
|
diff -up chromium-124.0.6367.118/services/network/shared_dictionary/simple_url_pattern_matcher.cc.me chromium-124.0.6367.118/services/network/shared_dictionary/simple_url_pattern_matcher.cc
|
||
|
--- chromium-124.0.6367.118/services/network/shared_dictionary/simple_url_pattern_matcher.cc.me 2024-05-07 00:07:15.720573794 +0200
|
||
|
+++ chromium-124.0.6367.118/services/network/shared_dictionary/simple_url_pattern_matcher.cc 2024-05-07 00:08:07.633519604 +0200
|
||
|
@@ -28,17 +28,17 @@ namespace network {
|
||
|
namespace {
|
||
|
|
||
|
// https://urlpattern.spec.whatwg.org/#default-options
|
||
|
-constexpr liburlpattern::Options kDefaultOptions = {.delimiter_list = "",
|
||
|
+const liburlpattern::Options kDefaultOptions = {.delimiter_list = "",
|
||
|
.prefix_list = "",
|
||
|
.sensitive = true,
|
||
|
.strict = true};
|
||
|
// https://urlpattern.spec.whatwg.org/#hostname-options
|
||
|
-constexpr liburlpattern::Options kHostnameOptions = {.delimiter_list = ".",
|
||
|
+const liburlpattern::Options kHostnameOptions = {.delimiter_list = ".",
|
||
|
.prefix_list = "",
|
||
|
.sensitive = true,
|
||
|
.strict = true};
|
||
|
// https://urlpattern.spec.whatwg.org/#pathname-options
|
||
|
-constexpr liburlpattern::Options kPathnameOptions = {.delimiter_list = "/",
|
||
|
+const liburlpattern::Options kPathnameOptions = {.delimiter_list = "/",
|
||
|
.prefix_list = "/",
|
||
|
.sensitive = true,
|
||
|
.strict = true};
|
||
|
diff -up chromium-124.0.6367.118/components/autofill/core/browser/form_parsing/transpile_regex_patterns.py.me1 chromium-124.0.6367.118/components/autofill/core/browser/form_parsing/transpile_regex_patterns.py
|
||
|
--- chromium-124.0.6367.118/components/autofill/core/browser/form_parsing/transpile_regex_patterns.py.me1 2024-05-07 10:58:13.316756926 +0200
|
||
|
+++ chromium-124.0.6367.118/components/autofill/core/browser/form_parsing/transpile_regex_patterns.py 2024-05-07 10:58:30.821083061 +0200
|
||
|
@@ -54,7 +54,7 @@ def generate_matching_pattern_equals(nam
|
||
|
yield '// Checks if all the matching patterns for the given PatternSources'
|
||
|
yield '// and language are the same - meaning that computing predictions for'
|
||
|
yield '// both is unnecessary, since it will yield the same result.'
|
||
|
- yield 'constexpr bool AreMatchingPatternsEqualImpl(PatternSource a,'
|
||
|
+ yield 'const bool AreMatchingPatternsEqualImpl(PatternSource a,'
|
||
|
yield ' PatternSource b,'
|
||
|
yield ' LanguageCode lang_code) {'
|
||
|
yield ' if (a == b) {'
|