mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
2928a42550
`UniquePtr` doesn't allow assignment from raw pointers so we update callsites appropriately: - Assignment from `new` is mapped to `MakeUnique` - Assignment from pointer params or factory functions ware wrapped with `WrapUnique` - Assignment from `release` calls are switched to `std::move` Additionally standalone release calls are piped into `mozilla::Unused` to stifle warnings and document that dropping the pointer is intentional. Differential Revision: https://phabricator.services.mozilla.com/D72438 |
||
---|---|---|
.. | ||
base | ||
crashtests | ||
tests | ||
xml | ||
xpath | ||
xslt | ||
moz.build | ||
nsIDocumentTransformer.h |