mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Wallpaper a crash. b=430814 r=bernd sr=roc a1.9=mconnor
This commit is contained in:
parent
6a3baba527
commit
af919fa36f
@ -613,6 +613,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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user