Closed Bug 1229965 Opened 8 years ago Closed 8 years ago

Use MakeUniquePtr in BlankAudioDataCreator

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

Details

Attachments

(1 file)

Follow-up to bug 1181718, which does:
>    UniquePtr<AudioDataValue[]> samples(
>      new (fallible) AudioDataValue[frames.value() * mChannelCount]);
MakeUniqueFallible should be used instead.

Will wait for bug 1229963 to land first.
Use MakeUniqueFallible in blank decoder, when creating audio data.
Attachment #8695690 - Flags: review?(jyavenard)
Attachment #8695690 - Flags: review?(jyavenard) → review+
https://hg.mozilla.org/mozilla-central/rev/40dc305afcf0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.