Closed Bug 1692830 Opened 4 years ago Closed 4 years ago

Remove redundant nullptr checks of return value of infallible new in nsWebBrowserPersist.cpp

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Attachments

(1 file)

new has been infallible for years. There are two places remaining in nsWebBrowserPersist.cpp that contains redundant checks for new returning nullptr.

Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/27453bab079b Remove redundant nullptr checks after new in nsWebBrowserPersist.cpp. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: