Bug 1638928 Part 2 - Rename nsIFrame's GetChildLists() to ChildLists(). r=mats

This patch is generated by using my editor's rename functionality.

In the next patch, `nsIFrame::` prefix is going to be removed manually
from all the ChildLists() calls.

Differential Revision: https://phabricator.services.mozilla.com/D75893
This commit is contained in:
Ting-Yu Lin
2020-05-19 12:37:37 +00:00
parent 7b65747a02
commit 1bcc656a6a
21 changed files with 51 additions and 51 deletions

View File

@@ -163,7 +163,7 @@ void nsFrameManager::CaptureFrameState(nsIFrame* aFrame,
CaptureFrameStateFor(aFrame, aState);
// Now capture state recursively for the frame hierarchy rooted at aFrame
for (const auto& childList : aFrame->GetChildLists()) {
for (const auto& childList : aFrame->ChildLists()) {
for (nsIFrame* child : childList.mList) {
if (child->GetStateBits() & NS_FRAME_OUT_OF_FLOW) {
// We'll pick it up when we get to its placeholder
@@ -233,7 +233,7 @@ void nsFrameManager::RestoreFrameState(nsIFrame* aFrame,
RestoreFrameStateFor(aFrame, aState);
// Now restore state recursively for the frame hierarchy rooted at aFrame
for (const auto& childList : aFrame->GetChildLists()) {
for (const auto& childList : aFrame->ChildLists()) {
for (nsIFrame* child : childList.mList) {
RestoreFrameState(child, aState);
}