Sophie

Sophie

distrib > Mageia > 8 > x86_64 > by-pkgid > 892c2a99310cc8e4a9df22541a46aeb2 > files > 31

chromium-browser-stable-88.0.4324.182-1.mga8.src.rpm

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
--- a/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc
+++ b/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