Re: PSA: Upcoming changes to mozilla::RefCounted and mozilla::SupportsWeakPtr

2014-03-09 Thread Ehsan Akhgari
This was just landed on inbound. Cheers, -- Ehsan http://ehsanakhgari.org/ On Tue, Feb 25, 2014 at 9:18 PM, Ehsan Akhgari ehsan.akhg...@gmail.comwrote: Over in bug 935778, I'm making RefCounted opt into the leak detection facilities of XPCOM. This means that soon you will have to consider

PSA: Upcoming changes to mozilla::RefCounted and mozilla::SupportsWeakPtr

2014-02-25 Thread Ehsan Akhgari
Over in bug 935778, I'm making RefCounted opt into the leak detection facilities of XPCOM. This means that soon you will have to consider the following before using RefCounted: 1. You should make sure that the consumers of your code either all live in libxul or they all live outside of it.