use UniquePtr instead of ScopedDeletePtr in HeapCopyOfStackArray

RESOLVED FIXED in Firefox 47

Status

()

Core
Graphics
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: froydnj, Assigned: froydnj)

Tracking

unspecified
mozilla47
Points:
---

Firefox Tracking Flags

(firefox47 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
(Assignee)

Comment 1

2 years ago
Created attachment 8724825 [details] [diff] [review]
use UniquePtr instead of ScopedDeletePtr in HeapCopyOfStackArray

This patch has the nice additional property of fixing a new/delete[] mismatch.
Attachment #8724825 - Flags: review?(jmuizelaar)
Attachment #8724825 - Flags: review?(jmuizelaar) → review+

Comment 3

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/c740c50ee694
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox47: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.