Re-ordered DeleteFrame() code to fix a FMR
git-svn-id: svn://10.0.0.236/trunk@20269 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -419,9 +419,6 @@ nsBlockFrame::~nsBlockFrame()
|
||||
NS_IMETHODIMP
|
||||
nsBlockFrame::DeleteFrame(nsIPresContext& aPresContext)
|
||||
{
|
||||
nsLineBox::DeleteLineList(aPresContext, mLines);
|
||||
nsLineBox::DeleteLineList(aPresContext, mOverflowLines);
|
||||
|
||||
// When we have a bullet frame and it's not in our child list then
|
||||
// we need to delete it ourselves (this is the common case for
|
||||
// list-item's that have outside bullets).
|
||||
@@ -431,6 +428,9 @@ nsBlockFrame::DeleteFrame(nsIPresContext& aPresContext)
|
||||
mBullet = nsnull;
|
||||
}
|
||||
|
||||
nsLineBox::DeleteLineList(aPresContext, mLines);
|
||||
nsLineBox::DeleteLineList(aPresContext, mOverflowLines);
|
||||
|
||||
mFloaters.DeleteFrames(aPresContext);
|
||||
|
||||
return nsBlockFrameSuper::DeleteFrame(aPresContext);
|
||||
|
||||
Reference in New Issue
Block a user