From e6bb58fb96a16d6b447e18957393b65e715c3383 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 4 May 2018 15:55:30 +0200 Subject: Issue #325 Part 6: Remove non-Intl legacy code paths from line-breaker code. --- intl/lwbrk/nsJISx4051LineBreaker.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'intl') 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)); -- cgit v1.2.3