mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
fix potential 0 deref bug 333351 r/sr=roc
This commit is contained in:
parent
e2abc88ecb
commit
049d72f6e1
@ -1140,6 +1140,7 @@ BasicTableLayoutStrategy::AssignNonPctColumnWidths(nscoord aMax
|
||||
nscoord maxPropTotal = 0;
|
||||
for (colX = 0; colX < numEffCols; colX++) {
|
||||
nsTableColFrame* colFrame = mTableFrame->GetColFrame(colX);
|
||||
if (!colFrame) continue;
|
||||
nscoord rawProp = colFrame->GetWidth(MIN_PRO);
|
||||
if (rawProp > 0) {
|
||||
nscoord desWidth = colFrame->GetDesWidth();
|
||||
|
Loading…
Reference in New Issue
Block a user