Closed Bug 1613465 Opened 2 years ago Closed 2 years ago

Remove null check of new XPCWrappedNativeProto

Categories

(Core :: XPConnect, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(1 file)

I noticed this while I was looking at some code. It is a very trivial patch.

I spot checked some other places we call "new" in the XPConnect directory, and I found a place where we null check the result of "new XPCNativeMember[totalCount]".

Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/660e388dd506
Remove two null checks of infallible new in XPConnect. r=nika
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.