zero out colInfo wehen allocated to avoid startup crash and other badness
git-svn-id: svn://10.0.0.236/trunk@41478 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1139,6 +1139,7 @@ void BasicTableLayoutStrategy::AllocateConstrained(PRInt32 aAvailWidth,
|
||||
if (!colInfo) {
|
||||
return;
|
||||
}
|
||||
memset(colInfo, 0, aNumConstrainedCols * sizeof(nsColInfo *));
|
||||
PRInt32 maxMinDiff = 0;
|
||||
PRInt32 constrColX = 0;
|
||||
// set the col info entries for each constrained col
|
||||
|
||||
Reference in New Issue
Block a user