On 9/12/16 1:53 PM, Daniel Holbert wrote:
(I believe we have the "already_AddRefed as a parameter" pattern in our code in order to avoid an extra addref/release when ownership is being transferred into a function.
And assertions if the function does not actually take the reference...
But, RefPtr/nsCOMPtr with move references would let us do that just as well
Not the assertions part, right? -Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform