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.
39 lines
2.9 KiB
39 lines
2.9 KiB
diff -up qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/i18n/string_compare.cc.bool qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/i18n/string_compare.cc
|
|
--- qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/i18n/string_compare.cc.bool 2020-11-06 19:22:36.000000000 -0600
|
|
+++ qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/i18n/string_compare.cc 2021-06-24 12:46:07.233326342 -0500
|
|
@@ -18,8 +18,8 @@ UCollationResult CompareString16WithColl
|
|
StringPiece16 rhs) {
|
|
UErrorCode error = U_ZERO_ERROR;
|
|
UCollationResult result = collator.compare(
|
|
- icu::UnicodeString(FALSE, lhs.data(), static_cast<int>(lhs.length())),
|
|
- icu::UnicodeString(FALSE, rhs.data(), static_cast<int>(rhs.length())),
|
|
+ icu::UnicodeString(false, lhs.data(), static_cast<int>(lhs.length())),
|
|
+ icu::UnicodeString(false, rhs.data(), static_cast<int>(rhs.length())),
|
|
error);
|
|
DCHECK(U_SUCCESS(error));
|
|
return result;
|
|
diff -up qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/i18n/time_formatting.cc.bool qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/i18n/time_formatting.cc
|
|
--- qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/i18n/time_formatting.cc.bool 2020-11-06 19:22:36.000000000 -0600
|
|
+++ qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/i18n/time_formatting.cc 2021-06-24 12:46:07.233326342 -0500
|
|
@@ -236,7 +236,7 @@ bool TimeDurationFormatWithSeconds(const
|
|
icu::FieldPosition ignore(icu::FieldPosition::DONT_CARE);
|
|
measure_format.formatMeasures(measures, 3, formatted, ignore, status);
|
|
*out = i18n::UnicodeStringToString16(formatted);
|
|
- return U_SUCCESS(status) == TRUE;
|
|
+ return U_SUCCESS(status) == true;
|
|
}
|
|
|
|
string16 DateIntervalFormat(const Time& begin_time,
|
|
diff -up qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/url_formatter/spoof_checks/skeleton_generator.cc.bool qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/url_formatter/spoof_checks/skeleton_generator.cc
|
|
--- qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/url_formatter/spoof_checks/skeleton_generator.cc.bool 2020-11-06 19:22:36.000000000 -0600
|
|
+++ qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/url_formatter/spoof_checks/skeleton_generator.cc 2021-06-24 12:46:07.233326342 -0500
|
|
@@ -117,7 +117,7 @@ SkeletonGenerator::~SkeletonGenerator()
|
|
Skeletons SkeletonGenerator::GetSkeletons(base::StringPiece16 hostname) {
|
|
Skeletons skeletons;
|
|
size_t hostname_length = hostname.length() - (hostname.back() == '.' ? 1 : 0);
|
|
- icu::UnicodeString host(FALSE, hostname.data(), hostname_length);
|
|
+ icu::UnicodeString host(false, hostname.data(), hostname_length);
|
|
// If input has any characters outside Latin-Greek-Cyrillic and [0-9._-],
|
|
// there is no point in getting rid of diacritics because combining marks
|
|
// attached to non-LGC characters are already blocked.
|