On 2014-05-12, 4:48 PM, Mike Hommey wrote:
On Mon, May 12, 2014 at 04:46:18PM -0700, Kyle Huey wrote:
On Mon, May 12, 2014 at 2:46 PM, Mike Hommey <m...@glandium.org> wrote:
On Mon, May 12, 2014 at 09:36:22AM -0700, Kyle Huey 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 :(
Another part of the problem is third party code that uses RefPtr.
Mike
Are you referring to moz2d or something else?
I'm referring to the webkit/chromium-imported code that needs it as a
replacement for wtf::RefPtr (aiui).
The chromium IPC code is ours now, so we can mdify it as needed. Not
sure about the Chromium sandbox code. Also AFAIK RefPtr was first
incorporated into our code base as a way to replace wtf::RefPtr for YARR
but I have no evidence that it actually ever happened.
Cheers,
Ehsan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform