Closed Bug 1638928 Opened 4 years ago Closed 4 years ago

Remove "Get" prefix from nsIFrame's GetChildLists and GetCrossChildLists

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(3 files)

Filed per mats' comment,

"Get" is typically used for things that are fallible in one way or another, or may return a null-pointer etc.

Both methods always return child lists in an array (though the array may be empty), so it makes sense to remove the "Get" prefix in their naming.

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

This patch is generated by using my editor's rename functionality.
nsIFrame:: prefix from all the ChildLists() calls will removed
manually in the next patch.

Depends on D75892

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/9ab0705fc439 Part 1 - Rename nsIFrame's GetCrossDocChildLists() to CrossDocChildLists(). r=mats https://hg.mozilla.org/integration/autoland/rev/3678c95fb3cf Part 2 - Rename nsIFrame's GetChildLists() to ChildLists(). r=mats https://hg.mozilla.org/integration/autoland/rev/d3db4eba3a3b Part 3 - Remove redundant "nsIFrame::" prefix from ChildLists() calls. r=mats
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: