mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Issue #325 Part 6: Remove non-Intl legacy code paths from line-breaker code.
This commit is contained in:
parent
d1c16b1326
commit
3f6fb7bb4a
1 changed files with 0 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue