Closed Bug 1252153 Opened 4 years ago Closed 4 years ago

use UniquePtr instead of ScopedDeletePtr in HeapCopyOfStackArray

Categories

(Core :: Graphics, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
This patch has the nice additional property of fixing a new/delete[] mismatch.
Attachment #8724825 - Flags: review?(jmuizelaar)
Attachment #8724825 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/c740c50ee694
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.