Bug 1279814 - Update mIsoRunLast index when handling PDI. r=xidorn

This commit is contained in:
Jonathan Kew 2016-06-15 22:04:48 +01:00
parent 47f0d2bc81
commit a4f0cbcda7

View File

@ -653,7 +653,8 @@ nsBidi::BracketData::ProcessLRI_RLI(nsBidiLevel aLevel)
void
nsBidi::BracketData::ProcessPDI()
{
mIsoRuns[mIsoRunLast].lastBase = O_N;
MOZ_ASSERT(mIsoRunLast > 0);
mIsoRuns[--mIsoRunLast].lastBase = O_N;
}
/* newly found opening bracket: create an openings entry */