Brian Smith wrote:

On Mon, May 12, 2014 at 9:36 AM, Kyle Huey <m...@kylehuey.com> wrote:

We should get rid of RefPtr, just like we did the MFBT refcounting classes.

The main thing stopping a mechanical search and replace is that the two smart 
pointers have different semantics around already_AddRefed/TemporaryRef :(
Nit: Aren't the TemporaryRef semantics better? Seems like replacing 
RefPtr-based stuff's use of RefPtr with nsRefPtr would be be making things at 
least slightly worse here.

Wouldn't nsRefPtr&& semantics be better still?

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to