Closed
Bug 1494330
Opened 5 years ago
Closed 2 years ago
Combine nsComboboxControlFrame::mDropdownFrame and mListControlFrame
Categories
(Core :: Layout: Form Controls, enhancement, P5)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
91 Branch
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: enndeakin, Assigned: TYLin)
Details
Attachments
(3 files)
They refer to the same frame. Also, remove usages of 'static_cast<nsListControlFrame*>(mDropdownFrame)'
Assignee | ||
Comment 1•2 years ago
|
||
Also, add nsListControlFrame to the forward declaration list in
nsHTMLParts, and sort them alphabetically.
Assignee | ||
Comment 2•2 years ago
|
||
This eliminates a lot of down casting from nsIFrame* to nsListControlFrame*.
Make SetDropDown() accepts nsListControlFrame* because
nsCSSFrameConstructor already passes the derived type in.
We'll replace mListControlFrame with mDropdownFrame in the next part.
Depends on D119205
Assignee | ||
Comment 3•2 years ago
|
||
mListControlFrame is the same as mDropdownFrame. See SetDropDown().
Depends on D119206
Updated•2 years ago
|
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/cdae5012ffbd Part 1 - Make NS_NewListControlFrame() return nsListControlFrame*. r=layout-reviewers,boris https://hg.mozilla.org/integration/autoland/rev/dd89d3803b20 Part 2 - Change nsComboboxControlFrame::mDropdownFrame's type to nsListControlFrame*. r=layout-reviewers,boris https://hg.mozilla.org/integration/autoland/rev/6ff478f9cce9 Part 3 - Remove nsComboboxControlFrame::mListControlFrame. r=layout-reviewers,boris
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cdae5012ffbd
https://hg.mozilla.org/mozilla-central/rev/dd89d3803b20
https://hg.mozilla.org/mozilla-central/rev/6ff478f9cce9
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox91:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•