Closed Bug 1779598 Opened 2 years ago Closed 2 years ago

Stop passing around Maybe<SVGImageContext>

Categories

(Core :: SVG, task)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

All its members are optional, so we can just use it as a plain struct rather than Maybe<> all around, which simplifies the code and prevents silly bugs like bug 1779592.

All its members are optional, so we can just use it as a plain struct
rather than Maybe<> all around, which simplifies the code and prevents
silly bugs like bug 1779592.

Mostly automatic via:

rg -l 'SVGImageContext' . | xargs sed -i 's/Maybe<SVGImageContext>/SVGImageContext/g'

With trivial build fixes.

Not intended to change behavior.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dbb5202d0c0f
Stop passing around Maybe<SVGImageContext>. r=aosmond
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: