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 | 193ddf88a924adbb434f37b5229ec7576cb9c6d3 (patch) | |
tree | 8b6e6ac5e344005753a37a42f54a79d4253e0549 /intl | |
parent | 1ba29b619c3a5035a7245424b3b71bde5a547be5 (diff) | |
download | uxp-193ddf88a924adbb434f37b5229ec7576cb9c6d3.tar.gz |
Issue mcp-graveyard/UXP#325 Part 6: Remove non-Intl legacy code paths from line-breaker code.
Diffstat (limited to 'intl')
-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 1b262fa2cb..fe4191a5f1 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)); |