don't null-check |new Foo| in xpcom/

RESOLVED FIXED in mozilla26

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: froydnj, Unassigned)

Tracking

unspecified
mozilla26
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

We have infallible |new| now.
Created attachment 786328 [details] [diff] [review]
don't null-check |new Foo| in xpcom/

I took the liberty of cleaning up some NS_ADDREF usage, too.  Please don't hurt me.
Attachment #786328 - Flags: review?(benjamin)

Updated

5 years ago
Attachment #786328 - Flags: review?(benjamin) → review+
https://hg.mozilla.org/mozilla-central/rev/3d5845e606af
https://hg.mozilla.org/mozilla-central/rev/c6987f46a45a
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.