Closed
Bug 1910428
Opened 6 months ago
Closed 6 months ago
Remove duplicate code in nsContainerFrame::ComputeAutoSize
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
130 Branch
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
Attachments
(4 files)
See the patches for other clean up.
Assignee | ||
Comment 1•6 months ago
|
||
Updated•6 months ago
|
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•6 months ago
|
||
Assignee | ||
Comment 3•6 months ago
|
||
The only caller of nsIFrame::ComputeAutoSize()
, including all the override
methods by derived classes, is nsIFrame::ComputeSize()
. Because
nsSubDocumentFrame
provides its own ComputeSize()
, its ComputeAutoSize()
is never used. Therefore, it can be removed.
Assignee | ||
Comment 4•6 months ago
|
||
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/eb5182a9ee92
Part 1 - Remove an unused #define in nsCheckboxRadioFrame.cpp. r=layout-reviewers,jfkthame
https://hg.mozilla.org/integration/autoland/rev/63b49033e0e6
Part 2 - Convert BtlsISizeType to an enum class. r=layout-reviewers,jfkthame
https://hg.mozilla.org/integration/autoland/rev/50868b2aff9a
Part 3 - Remove unused nsSubDocumentFrame::ComputeAutoSize(). r=layout-reviewers,emilio
https://hg.mozilla.org/integration/autoland/rev/eb6a8166ab1e
Part 4 - Call nsIFrame::ComputeAutoSize() in nsContainerFrame::ComputeAutoSize(). r=layout-reviewers,jfkthame
Comment 6•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/eb5182a9ee92
https://hg.mozilla.org/mozilla-central/rev/63b49033e0e6
https://hg.mozilla.org/mozilla-central/rev/50868b2aff9a
https://hg.mozilla.org/mozilla-central/rev/eb6a8166ab1e
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•