Bug 1429313 - Reuse nextColIndex to avoid extra BCMapCellInfo::GetCellEndRowIndex() calls. r=tylin
MozReview-Commit-ID: 9gbVQNSKl7l
This commit is contained in:
@@ -6461,7 +6461,7 @@ nsTableFrame::CalcBCBorders()
|
||||
if ((info.mNumTableCols != nextColIndex) &&
|
||||
(lastBEndBorders[nextColIndex].rowSpan > 1) &&
|
||||
(lastBEndBorders[nextColIndex].rowIndex == info.GetCellEndRowIndex() + 1)) {
|
||||
BCCornerInfo& corner = bEndCorners[info.GetCellEndColIndex() + 1];
|
||||
BCCornerInfo& corner = bEndCorners[nextColIndex];
|
||||
if (!IsBlock(LogicalSide(corner.ownerSide))) {
|
||||
// not a block-dir owner
|
||||
BCCellBorder& thisBorder = lastBEndBorder;
|
||||
@@ -6475,7 +6475,7 @@ nsTableFrame::CalcBCBorders()
|
||||
tableCellMap->ResetBStartStart(eLogicalSideBEnd, *iter.mCellMap,
|
||||
iter.mRowGroupStart,
|
||||
info.GetCellEndRowIndex(),
|
||||
info.GetCellEndColIndex() + 1);
|
||||
nextColIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user