Closed
Bug 1910428
Opened 1 year ago
Closed 1 year 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•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 year ago
|
||
| Assignee | ||
Comment 3•1 year 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•1 year 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•1 year 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: 1 year 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
•