Closed Bug 328680 Opened 19 years ago Closed 7 years ago

Remove nsIListControlFrame

Categories

(Core :: Layout, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: marcldl+mozbugs, Assigned: enndeakin)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1 This interface isn't necessary since only one class implements it. Reproducible: Always Steps to Reproduce: I have a patch ready, waiting for bug 326944.
Depends on: 326944
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Attachment #9012161 - Flags: review?(mats)
Comment on attachment 9012161 [details] [diff] [review] Remove nsIListControlFrame interface Not your fault, but this seems a little bit silly: > nsIFrame* mDropdownFrame; // dropdown list frame >- nsIListControlFrame * mListControlFrame; // ListControl Interface for the dropdown frame >+ nsListControlFrame* mListControlFrame; // ListControl for the dropdown frame given that it's actually the same frame: https://searchfox.org/mozilla-central/rev/ffe6eaf2f032e58ec3b0650a87df2c62ae4ca441/layout/forms/nsComboboxControlFrame.cpp#977-978 It seems we could just change the type for mDropdownFrame to nsListControlFrame* and get rid of mListControlFrame. File a follow-up bug on fixing that?
Attachment #9012161 - Flags: review?(mats) → review+
Also, we do static_cast<nsListControlFrame*>(mDropdownFrame) in a number of places. We should clean that up too in that follow-up bug.
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d081601f722b remove nsIListControlFrame interface, r=mats
I filed bug 1494330.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: