fcdbc44cf3
- Built for x86_64, x86_64-musl, i686. - Tested on x86_64. - Add API deprecation warning message.
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
From 75ff882bb5f2fcd14431e65fa638ae72bdb47086 Mon Sep 17 00:00:00 2001
|
|
From: Stephan Hartmann <stha09@googlemail.com>
|
|
Date: Sun, 15 Nov 2020 14:31:23 +0000
|
|
Subject: [PATCH] fix ideographicSpaceCharacter constant for system icu
|
|
|
|
https://chromium-review.googlesource.com/c/chromium/src/+/1687411
|
|
renamed ideographicSpaceCharacter to kIdeographicSpaceCharacter.
|
|
---
|
|
third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc b/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc
|
|
index fb8ab05..5d4ea13 100644
|
|
--- third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc
|
|
+++ third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc
|
|
@@ -432,7 +432,7 @@ String TextCodecICU::Decode(const char* bytes,
|
|
// ICU decodes it as U+E5E5.
|
|
if (!strcmp(encoding_.GetName(), "GBK")) {
|
|
if (EqualIgnoringASCIICase(encoding_.GetName(), "gb18030"))
|
|
- resultString.Replace(0xE5E5, ideographicSpaceCharacter);
|
|
+ resultString.Replace(0xE5E5, kIdeographicSpaceCharacter);
|
|
// Make GBK compliant to the encoding spec and align with GB18030
|
|
resultString.Replace(0x01F9, 0xE7C8);
|
|
// FIXME: Once https://www.w3.org/Bugs/Public/show_bug.cgi?id=28740#c3
|
|
--
|
|
2.26.2
|
|
|