Skip to content

Commit 33592fe

Browse files
committedSep 6, 2023
Backed out changeset 55052ae7d067 (bug 1851868) for reftest failure on 1153695.html . CLOSED TREE
1 parent c6db0ed commit 33592fe

File tree

87 files changed

+411
-313
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+411
-313
lines changed
 

‎layout/base/nsFrameManager.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ void nsFrameManager::Destroy() {
5050
mPresShell->SetIgnoreFrameDestruction(true);
5151

5252
if (mRootFrame) {
53-
FrameDestroyContext context(mRootFrame);
54-
mRootFrame->Destroy(context);
53+
mRootFrame->Destroy();
5554
mRootFrame = nullptr;
5655
}
5756

‎layout/forms/nsColorControlFrame.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ NS_QUERYFRAME_HEAD(nsColorControlFrame)
3838
NS_QUERYFRAME_ENTRY(nsIAnonymousContentCreator)
3939
NS_QUERYFRAME_TAIL_INHERITING(nsHTMLButtonControlFrame)
4040

41-
void nsColorControlFrame::Destroy(DestroyContext& aContext) {
42-
aContext.AddAnonymousContent(mColorContent.forget());
43-
nsHTMLButtonControlFrame::Destroy(aContext);
41+
void nsColorControlFrame::DestroyFrom(nsIFrame* aDestructRoot,
42+
PostDestroyData& aPostDestroyData) {
43+
aPostDestroyData.AddAnonymousContent(mColorContent.forget());
44+
nsHTMLButtonControlFrame::DestroyFrom(aDestructRoot, aPostDestroyData);
4445
}
4546

4647
#ifdef DEBUG_FRAME_DUMP

0 commit comments

Comments
 (0)
Failed to load comments.