Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]

patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@137216 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2003-01-31 21:31:48 +00:00
parent 09be55c2a5
commit f104e2ff56
4 changed files with 8 additions and 4 deletions

View File

@@ -5916,9 +5916,10 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
// if the new frame was already initialized to initialize it again.
if (!frameHasBeenInitialized) {
InitAndRestoreFrame(aPresContext, aState, aContent,
rv = InitAndRestoreFrame(aPresContext, aState, aContent,
geometricParent, aStyleContext, nsnull, newFrame);
NS_ENSURE_SUCCESS(rv,rv);
/*
// if our parent is a block frame then do things the way html likes it