51 lines
3.8 KiB
Diff
51 lines
3.8 KiB
Diff
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 14:14:23.409239460 -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 14:14:23.409239460 -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 14:14:23.410239461 -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.
|
|
diff -up qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc.bool qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc
|
|
--- qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc.bool 2020-11-06 19:22:36.000000000 -0600
|
|
+++ qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc 2021-06-24 14:15:06.057259662 -0500
|
|
@@ -326,7 +326,7 @@ void TextCodecICU::CreateICUConverter()
|
|
DLOG_IF(ERROR, err == U_AMBIGUOUS_ALIAS_WARNING)
|
|
<< "ICU ambiguous alias warning for encoding: " << encoding_.GetName();
|
|
if (converter_icu_)
|
|
- ucnv_setFallback(converter_icu_, TRUE);
|
|
+ ucnv_setFallback(converter_icu_, true);
|
|
}
|
|
|
|
int TextCodecICU::DecodeToBuffer(UChar* target,
|