Move nsGridContainerFrame::CachedBAxisMeasurement to cpp file
Categories
(Core :: Layout: Grid, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox139 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
(Whiteboard: [grid-percentages:m1])
Attachments
(3 files)
Minor refactoring and cleanup for CachedBAxisMeasurement
and surrounding code. See the patch stack for details.
Assignee | ||
Comment 1•1 month ago
|
||
This patch moves all public override methods declared at the end the grid
container class to the first public section. It is the first step toward
consolidating the grid container's public interface into a single public
section.
Updated•1 month ago
|
Assignee | ||
Comment 2•1 month ago
|
||
The grid item cache is an internal implementation detail that does not need to
be exposed in the header. This patch moves CachedBAxisMeasurement
to the cpp
file, similar to where nsFlexContainerFrame::CachedBAxisMeasurement
lives.
This change also reduces compile time when modifying the cache code.
Since CachedBAxisMeasurement
is now hidden, we add a heler
MarkCachedGridMeasurementsDirty
to remove CachedBAxisMeasurement::Prop()
in
nsIFrame::MarkIntrinsicISizesDirty()
.
Assignee | ||
Comment 3•1 month ago
|
||
Updated•1 month ago
|
Comment 5•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0072254f7f53
https://hg.mozilla.org/mozilla-central/rev/3dbe1a3611f5
https://hg.mozilla.org/mozilla-central/rev/e5f38e86783d
Updated•27 days ago
|
Updated•20 days ago
|
Description
•