Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz

MozReview-Commit-ID: 2trDgeJPw25
This commit is contained in:
Mats Palmgren
2017-11-07 01:20:33 +01:00
parent 26516bfdd9
commit 616f910f82
117 changed files with 300 additions and 256 deletions

View File

@@ -38,10 +38,10 @@ nsHTMLButtonControlFrame::~nsHTMLButtonControlFrame()
}
void
nsHTMLButtonControlFrame::DestroyFrom(nsIFrame* aDestructRoot)
nsHTMLButtonControlFrame::DestroyFrom(nsIFrame* aDestructRoot, PostDestroyData& aPostDestroyData)
{
nsCheckboxRadioFrame::RegUnRegAccessKey(static_cast<nsIFrame*>(this), false);
nsContainerFrame::DestroyFrom(aDestructRoot);
nsContainerFrame::DestroyFrom(aDestructRoot, aPostDestroyData);
}
void