Bug 806056 - Make nsContainerFrame destroy abs/fixed pos. child frames unless a derived class already did so. Assert that there are no abs/fixed pos. child frames in nsFrame::DestroyFrom(). r=roc

This commit is contained in:
Mats Palmgren
2012-11-02 01:52:59 +01:00
parent b9828a3747
commit c91252498a
16 changed files with 21 additions and 59 deletions

View File

@@ -54,7 +54,6 @@ void
nsHTMLButtonControlFrame::DestroyFrom(nsIFrame* aDestructRoot)
{
nsFormControlFrame::RegUnRegAccessKey(static_cast<nsIFrame*>(this), false);
DestroyAbsoluteFrames(aDestructRoot);
nsContainerFrame::DestroyFrom(aDestructRoot);
}