Bug 125689 Mozinvaders crashes Mozilla! [@ nsGrid::FindRowsAndColumns]
r=varga sr=kin <grid></grid> with no rows or collumns git-svn-id: svn://10.0.0.236/trunk@123655 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e2a912e048
commit
cc00cc5f7c
@ -279,7 +279,9 @@ nsGrid::FindRowsAndColumns(nsIBox** aRows, nsIBox** aColumns)
|
||||
|
||||
// find the boxes that contain our rows and columns
|
||||
nsIBox* child = nsnull;
|
||||
mBox->GetChildBox(&child);
|
||||
// if we have <grid></grid> then mBox will be null (bug 125689)
|
||||
if (mBox)
|
||||
mBox->GetChildBox(&child);
|
||||
|
||||
while(child)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user