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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user