Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc

This commit is contained in:
fantasai
2009-12-24 00:21:15 -05:00
parent 9e51dfaf9b
commit f76a01be55
92 changed files with 244 additions and 179 deletions

View File

@@ -86,10 +86,10 @@ nsHTMLButtonControlFrame::~nsHTMLButtonControlFrame()
}
void
nsHTMLButtonControlFrame::Destroy()
nsHTMLButtonControlFrame::DestroyFrom(nsIFrame* aDestructRoot)
{
nsFormControlFrame::RegUnRegAccessKey(static_cast<nsIFrame*>(this), PR_FALSE);
nsHTMLContainerFrame::Destroy();
nsHTMLContainerFrame::DestroyFrom(aDestructRoot);
}
NS_IMETHODIMP