Closed Bug 1252198 Opened 4 years ago Closed 4 years ago

use UniquePtr instead of ScopedFreePtr in MediaEngineTabVideoSource

Categories

(Core :: Audio/Video, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

UniquePtr is more standard than ScopedFreePtr; using standard constructs
whenever possible is preferable.  In this case, we're allocating a
simple block of memory, so we can allocate an |unsigned char[]| via
MakeUnique for the same effect.
Priority: -- → P2
Attachment #8724872 - Flags: review?(gsquelart) → review+
https://hg.mozilla.org/mozilla-central/rev/90c8225a5f04
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.