mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1163583 - Update SetPara with recent changes to ICU algorithm. r=smontagu
This commit is contained in:
parent
0ea8611993
commit
d184ae355d
@ -324,7 +324,7 @@ nsresult nsBidi::SetPara(const char16_t *aText, int32_t aLength,
|
||||
if (mIsolateCount <= SIMPLE_ISOLATES_SIZE) {
|
||||
mIsolates = mSimpleIsolates;
|
||||
} else {
|
||||
if (mIsolateCount <= (int32_t) mIsolatesSize) {
|
||||
if (mIsolateCount * sizeof(Isolate) <= mIsolatesSize) {
|
||||
mIsolates = mIsolatesMemory;
|
||||
} else {
|
||||
if (GETINITIALISOLATESMEMORY(mIsolateCount)) {
|
||||
|
Loading…
Reference in New Issue
Block a user