mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +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);
|
: (NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP == styleDisplay->mDisplay);
|
||||||
if (!contentDisplayIsGroup) {
|
if (!contentDisplayIsGroup) {
|
||||||
NS_ASSERTION(aToDo, "null nsTableList when constructing from below");
|
NS_ASSERTION(aToDo, "null nsTableList when constructing from below");
|
||||||
|
if (!aToDo)
|
||||||
|
return NS_ERROR_NULL_POINTER;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsCOMPtr<nsIStyleContext> parentStyleContext;
|
nsCOMPtr<nsIStyleContext> parentStyleContext;
|
||||||
|
@ -1394,6 +1394,8 @@ nsCSSFrameConstructor::ConstructTableGroupFrame(nsIPresShell* aPresShell,
|
|||||||
: (NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP == styleDisplay->mDisplay);
|
: (NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP == styleDisplay->mDisplay);
|
||||||
if (!contentDisplayIsGroup) {
|
if (!contentDisplayIsGroup) {
|
||||||
NS_ASSERTION(aToDo, "null nsTableList when constructing from below");
|
NS_ASSERTION(aToDo, "null nsTableList when constructing from below");
|
||||||
|
if (!aToDo)
|
||||||
|
return NS_ERROR_NULL_POINTER;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsCOMPtr<nsIStyleContext> parentStyleContext;
|
nsCOMPtr<nsIStyleContext> parentStyleContext;
|
||||||
|
Loading…
Reference in New Issue
Block a user