Closed
Bug 1025022
Opened 11 years ago
Closed 11 years ago
Pass T* to nsCOMArray::Contains
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: Ms2ger, Assigned: Ms2ger)
Details
Attachments
(1 file)
|
1.20 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
It takes nsISupports* now, which is somewhat silly; in particular, it doesn't actually do full COM comparisons, like ContainsObject, so passing something that isn't a T* is most likely a bug.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8439913 -
Flags: review?(neil)
Comment 2•11 years ago
|
||
Comment on attachment 8439913 [details] [diff] [review]
Pass T* to nsCOMArray::Contains
ContainsObject probably needs the same treatment (compare IndexOfObject which was a pre-existing method on nsCOMArray).
Attachment #8439913 -
Flags: review?(neil) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
Flags: in-testsuite-
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•