Closed Bug 515949 Opened 11 years ago Closed 11 years ago

nsCOMPtr/nsCOMArray<nsScreenCocoa> is bad

Categories

(Core :: Widget: Cocoa, defect)

x86
Windows NT
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

Attachments

(1 file)

nsScreenCocoa doesn't have an IID, but we try to use nsCOMArray on it anyway. We should be using nsRefPtr and nsTArray< nsRefPtr<nsScreenCocoa> >.

See bug 514280 for more details... this is a part of that bug.
Attachment #400035 - Flags: review?(joshmoz)
Attachment #400035 - Flags: review?(joshmoz) → review+
http://hg.mozilla.org/mozilla-central/rev/0ca31afaa290
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.