Open Bug 619784 Opened 14 years ago Updated 2 years ago

FIX nsCOMPtrs to concrete classes.

Categories

(Toolkit :: Places, defect, P5)

defect

Tracking

()

People

(Reporter: mak, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Apart specific cases (see http://groups.google.com/group/netscape.public.mozilla.xpcom/browse_frm/thread/77258f1cd7d99773/268b949066f2ba4a?hl=de&q&pli=1) it's not sane to do so, we should do a sweep of the code and fix instances of them.
Whiteboard: [places-next-wanted]
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Attached patch broken wip (obsolete) — Splinter Review
bug 820672 will simplify the conversion from nsCOMArray<concrete> to the more proper nsTArray<nsRefPtr<concrete>>
Depends on: 820672
Attached patch wipSplinter Review
Attachment #706778 - Attachment is obsolete: true
I really wish we could enforce this through the compiler :(
actually, these uses are "allowed" cause the concrete class implements a single interface, though yes, it would be useful to have compiler checks. Regardless this stuff is there from quite many years, likely from the creation of Places.
not actively working on this atm (And regardless I couldn't finish it without bug 820672)
Assignee: mak77 → nobody
Status: ASSIGNED → NEW
Whiteboard: [places-next-wanted]
Priority: -- → P5
Depends on: 1446951
Depends on: 1447929
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: