Bug 1798373 Part 5 - Change nsContainerFrame::SetInitialChildList() to take rvalue reference of nsFrameList. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D160841
This commit is contained in:
Ting-Yu Lin
2022-11-01 21:15:54 +00:00
parent a118547d80
commit 782d64e3cf
52 changed files with 141 additions and 136 deletions

View File

@@ -194,8 +194,8 @@ class nsTableFrame : public nsContainerFrame {
/** @see nsIFrame::DidSetComputedStyle */
virtual void DidSetComputedStyle(ComputedStyle* aOldComputedStyle) override;
virtual void SetInitialChildList(ChildListID aListID,
nsFrameList& aChildList) override;
void SetInitialChildList(ChildListID aListID,
nsFrameList&& aChildList) override;
virtual void AppendFrames(ChildListID aListID,
nsFrameList& aFrameList) override;
virtual void InsertFrames(ChildListID aListID, nsIFrame* aPrevFrame,