b=430814 r=bernd sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@250885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -587,6 +587,9 @@ TableBackgroundPainter::PaintCell(nsTableCellFrame* aCell,
|
||||
|
||||
PRInt32 colIndex;
|
||||
aCell->GetColIndex(colIndex);
|
||||
NS_ASSERTION(colIndex < mNumCols, "prevent array boundary violation");
|
||||
if (mNumCols <= colIndex)
|
||||
return NS_OK;
|
||||
|
||||
//Paint column group background
|
||||
if (mCols && mCols[colIndex].mColGroup && mCols[colIndex].mColGroup->IsVisible()) {
|
||||
|
||||
Reference in New Issue
Block a user