Bug 1229437 followup 3 - Fix a mistake in RubyColumn::Iterator::SkipUntilExistingFrame(). a=me

This commit is contained in:
Xidorn Quan 2016-01-27 19:04:57 +11:00
parent 7c120d7157
commit fc6fad027c

View File

@ -74,9 +74,10 @@ void
RubyColumn::Iterator::SkipUntilExistingFrame()
{
if (mIndex == -1) {
if (!mColumn.mBaseFrame) {
++mIndex;
if (mColumn.mBaseFrame) {
return;
}
++mIndex;
}
int32_t numTextFrames = mColumn.mTextFrames.Length();
for (; mIndex < numTextFrames; ++mIndex) {