summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-73.0.3683.75/empty-array.patch
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2019-03-26 22:06:32 -0600
committerKenny Ballou <kballou@devnulllabs.io>2019-03-26 22:06:32 -0600
commit1931d6226d12382abfbff8bf5b91eda248f32b0b (patch)
tree3c5156b1652ba7f9dc8ea0a7289edcde8959b533 /patches/www-client/chromium-73.0.3683.75/empty-array.patch
parent3d8c0621df66b34d78334c6cacd9990c6222bf79 (diff)
downloadgentoo.patches-1931d6226d12382abfbff8bf5b91eda248f32b0b.tar.gz
gentoo.patches-1931d6226d12382abfbff8bf5b91eda248f32b0b.tar.xz
Add chromium-73 patches
Add patches from the debian project, refreshed from chromium-73. Do not need GCC-6 fixes, as we have updated to GCC-8. Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/empty-array.patch')
-rw-r--r--patches/www-client/chromium-73.0.3683.75/empty-array.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/empty-array.patch b/patches/www-client/chromium-73.0.3683.75/empty-array.patch
new file mode 100644
index 0000000..5a68026
--- /dev/null
+++ b/patches/www-client/chromium-73.0.3683.75/empty-array.patch
@@ -0,0 +1,18 @@
+description: arraysize macro fails for zero length array, add one character
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/third_party/blink/renderer/platform/text/character_property_data.h
++++ b/third_party/blink/renderer/platform/text/character_property_data.h
+@@ -244,10 +244,10 @@ static const UChar32 kIsHangulRanges[] =
+ 0xD7B0, 0xD7FF,
+ // Halfwidth Hangul Jamo
+ // https://www.unicode.org/charts/nameslist/c_FF00.html
+- 0xFFA0, 0xFFDC,
++ 0xFFA0, 0xFFDB,
+ };
+
+-static const UChar32 kIsHangulArray[] = {};
++static const UChar32 kIsHangulArray[] = {0xFFDC};
+
+ #if !defined(USING_SYSTEM_ICU)
+ // Freezed trie tree, see character_property_data_generator.cc.