diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 15:55:30 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-04 15:56:17 +0200 |
commit | e6bb58fb96a16d6b447e18957393b65e715c3383 (patch) | |
tree | 8b6e6ac5e344005753a37a42f54a79d4253e0549 | |
parent | a2652e5bc46b411f894d0a343f6ea6a83f07e3e2 (diff) | |
download | UXP-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.
-rw-r--r-- | intl/lwbrk/nsJISx4051LineBreaker.cpp | 2 |
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)); |