fix crash. when I launch apprunner -pref, I hit the assertion.
then I crash because I dereference null. git-svn-id: svn://10.0.0.236/trunk@37668 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -113,6 +113,7 @@ PRBool FixedTableLayoutStrategy::AssignPreliminaryColumnWidths(nscoord aComputed
|
||||
// Get column information
|
||||
nsTableColFrame* colFrame = mTableFrame->GetColFrame(colX);
|
||||
NS_ASSERTION(nsnull != colFrame, "bad col frame");
|
||||
if (!colFrame) return PR_FALSE;
|
||||
|
||||
// Get the columns's style
|
||||
const nsStylePosition* colPosition;
|
||||
|
||||
Reference in New Issue
Block a user