mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
6ea4ed1c80
This converts `nsAutoPtr` usage in dom/media to `UniquePtr`. Beyond just a search and replace we also needed to update assignment and access of the `UniquePtr`s. This falls into a few categories: - Assignment from a newly constructed object switches to `MakeUnique` - Assignment from a raw ptr switches to `UniquePtr::reset` - Handing out a raw ptr now requires `UniquePtr::get` - Uses `UniquePtr::release` rather than `nsAutoPtr::forget` - A few spots are updated to return a `UniquePtr` rather than a raw ptr Differential Revision: https://phabricator.services.mozilla.com/D60084 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
moz.build | ||
OggCodecState.cpp | ||
OggCodecState.h | ||
OggCodecStore.cpp | ||
OggCodecStore.h | ||
OggDecoder.cpp | ||
OggDecoder.h | ||
OggDemuxer.cpp | ||
OggDemuxer.h | ||
OggWriter.cpp | ||
OggWriter.h | ||
OpusParser.cpp | ||
OpusParser.h |