mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
bug 18001 assertion & crash on treeTest1.xul. r=hyatt a=chofmann
This commit is contained in:
parent
9da2c4a788
commit
a1674a5a49
@ -1394,6 +1394,8 @@ nsCSSFrameConstructor::ConstructTableGroupFrame(nsIPresShell* aPresShell,
|
||||
: (NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP == styleDisplay->mDisplay);
|
||||
if (!contentDisplayIsGroup) {
|
||||
NS_ASSERTION(aToDo, "null nsTableList when constructing from below");
|
||||
if (!aToDo)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIStyleContext> parentStyleContext;
|
||||
|
@ -1394,6 +1394,8 @@ nsCSSFrameConstructor::ConstructTableGroupFrame(nsIPresShell* aPresShell,
|
||||
: (NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP == styleDisplay->mDisplay);
|
||||
if (!contentDisplayIsGroup) {
|
||||
NS_ASSERTION(aToDo, "null nsTableList when constructing from below");
|
||||
if (!aToDo)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIStyleContext> parentStyleContext;
|
||||
|
Loading…
Reference in New Issue
Block a user