gecko-dev/dom/xslt
Eric Rahm 2928a42550 Bug 1632613 - Part 4e: Handle assignment to UniquePtr properly and silence warnings from release calls. r=peterv
`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
2020-04-27 10:24:56 +00:00
..
base Bug 1632613 - Part 4b: Swap out nsAutoPtr type for UniquePtr. r=peterv 2020-04-27 09:18:33 +00:00
crashtests
tests Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
xml Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
xpath Bug 1632613 - Part 4e: Handle assignment to UniquePtr properly and silence warnings from release calls. r=peterv 2020-04-27 10:24:56 +00:00
xslt Bug 1632613 - Part 4e: Handle assignment to UniquePtr properly and silence warnings from release calls. r=peterv 2020-04-27 10:24:56 +00:00
moz.build
nsIDocumentTransformer.h