mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Fix various crashes by not trying to set the parent before we've initialized the frame. Bug 262054, r+sr=roc.
This commit is contained in:
parent
2966e5b957
commit
0e838f274d
@ -217,8 +217,6 @@ nsBoxFrame::Init(nsPresContext* aPresContext,
|
||||
nsStyleContext* aContext,
|
||||
nsIFrame* aPrevInFlow)
|
||||
{
|
||||
SetParent(aParent);
|
||||
|
||||
mPresContext = aPresContext;
|
||||
|
||||
nsresult rv = nsContainerFrame::Init(aPresContext, aContent, aParent, aContext, aPrevInFlow);
|
||||
|
Loading…
Reference in New Issue
Block a user