Closed Bug 1582506 Opened 2 months ago Closed 2 months ago

Remove some pointless null-checks in DOMSVGLengthList

Categories

(Core :: SVG, task)

task
Not set

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

Those things it's testing for null can never be null.

Assuming our caller didn't mess up passing the reference (and code inspection
suggests callers did not thus mess up), we should not have null when we take a
pointer to the reference.

Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4495ef2bbb0c
Remove some pointless null-checks in SVG code.  r=longsonr
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.