summaryrefslogtreecommitdiffstats
path: root/intl/lwbrk
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-04 15:55:30 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-04 15:56:17 +0200
commite6bb58fb96a16d6b447e18957393b65e715c3383 (patch)
tree8b6e6ac5e344005753a37a42f54a79d4253e0549 /intl/lwbrk
parenta2652e5bc46b411f894d0a343f6ea6a83f07e3e2 (diff)
downloadUXP-e6bb58fb96a16d6b447e18957393b65e715c3383.tar
UXP-e6bb58fb96a16d6b447e18957393b65e715c3383.tar.gz
UXP-e6bb58fb96a16d6b447e18957393b65e715c3383.tar.lz
UXP-e6bb58fb96a16d6b447e18957393b65e715c3383.tar.xz
UXP-e6bb58fb96a16d6b447e18957393b65e715c3383.zip
Issue #325 Part 6: Remove non-Intl legacy code paths from line-breaker code.
Diffstat (limited to 'intl/lwbrk')
-rw-r--r--intl/lwbrk/nsJISx4051LineBreaker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/intl/lwbrk/nsJISx4051LineBreaker.cpp b/intl/lwbrk/nsJISx4051LineBreaker.cpp
index 1b262fa2c..fe4191a5f 100644
--- a/intl/lwbrk/nsJISx4051LineBreaker.cpp
+++ b/intl/lwbrk/nsJISx4051LineBreaker.cpp
@@ -553,10 +553,8 @@ GetClass(uint32_t u)
/* ZWJ = 42, [ZWJ]*/ CLASS_CHARACTER
};
-#if ENABLE_INTL_API
static_assert(U_LB_COUNT == mozilla::ArrayLength(sUnicodeLineBreakToClass),
"Gecko vs ICU LineBreak class mismatch");
-#endif
auto cls = mozilla::unicode::GetLineBreakClass(u);
MOZ_ASSERT(cls < mozilla::ArrayLength(sUnicodeLineBreakToClass));