Closed Bug 1839944 Opened 1 year ago Closed 1 year ago

Rename mBaselineFromLastReflow in nsFlexContainerFrame

Categories

(Core :: Layout: Flexbox, task)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(1 file)

Per dholbert's review comment in https://phabricator.services.mozilla.com/D181604#inline-1007067,

... we should probably rename this first variable to mFirstBaselineFromLastReflow for symmetry/clarity.

Agree. In addition, I feel maybe we could drop FromLastReflow for both variable for brevity, and add a comment saying that both are computed and cached in the last reflow.

(In reply to Ting-Yu Lin [:TYLin] (UTC-8) from comment #0)

I feel maybe we could drop FromLastReflow for both variable for brevity, and add a comment saying that both are computed and cached in the last reflow.

That sounds fine to me, yeah. Thanks!

Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1680bc957eca
Rename two cached baseline variables in nsFlexContainerFrame. r=dholbert
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: