Open Bug 339277 Opened 19 years ago Updated 2 years ago

nsCOMArray<T> should have AppendObject, etc., taking already_AddRefed<T>

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

Details

nsCOMArray<T> should have overloaded methods AppendObject, InsertObjectAt, and ReplaceObjectAt that take already_AddRefed<T> instead of T*.  bug 206520 comment 23 has some examples where this would have been useful.
Dupe of bu 171808?  Or just a more specific bug?
err, bug 171808 (must fix keyboard)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.