Closed Bug 1835177 Opened 2 years ago Closed 2 years ago

Modernize SVGAttrTearoffTable to use UniquePtr

Categories

(Core :: SVG, task)

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

When looking at bug 1604498, I noticed that SVGAttrTearoffTable uses raw pointers and new / delete.

We should modernize to use UniquePtr/MakeUnique there.

Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e85ff01a1c5d Modernize SVGAttrTearoffTable to use UniquePtr. r=boris
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Regressions: 1835996
Status: RESOLVED → REOPENED
Flags: needinfo?(dholbert)
Resolution: FIXED → ---
Target Milestone: 115 Branch → ---
Attachment #9336014 - Attachment description: Bug 1835177: Modernize SVGAttrTearoffTable to use UniquePtr. r?#layout-reviewers → Bug 1835177: Modernize SVGAttrTearoffTable to use StaticAutoPtr to manage deletion. r?#layout-reviewers

(In reply to Natalia Csoregi [:nataliaCs] from comment #4)

Backed out as requested.

Thanks! That addresses bug 1835996.

I've updated the patch to avoid that issue, and I'll re-land later on today (giving the metrics a chance to be updated, so we can confirm that they don't regress again).

Leaving needinfo open to remind me to re-land.

Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b37ec4bc7ce4 Modernize SVGAttrTearoffTable to use StaticAutoPtr to manage deletion. r=boris
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Flags: needinfo?(dholbert)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: