Bug 1851787 - Plumb a DestroyContext through all functions that can destroy frames. r=dholbert

This prevents anonymous content getting destroyed at weird times
during frame destruction.

Differential Revision: https://phabricator.services.mozilla.com/D187693
This commit is contained in:
Emilio Cobos Álvarez
2023-09-08 15:11:17 +00:00
parent cca6b1534e
commit 0b366c953e
59 changed files with 421 additions and 421 deletions

View File

@@ -1347,7 +1347,7 @@ void nsColumnSetFrame::InsertFrames(ChildListID aListID, nsIFrame* aPrevFrame,
MOZ_CRASH("unsupported operation");
}
void nsColumnSetFrame::RemoveFrame(ChildListID aListID, nsIFrame* aOldFrame) {
void nsColumnSetFrame::RemoveFrame(DestroyContext&, ChildListID, nsIFrame*) {
MOZ_CRASH("unsupported operation");
}
#endif