зеркало из https://github.com/mozilla/gecko-dev.git
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 |
||
---|---|---|
.. | ||
recognition | ||
synth | ||
moz.build |