It is a very common pattern in our code base to get a pointer from a Ref object. Right now, we have to call Ref.get() and take its address which is not very nice IMHO. I propose we add a asPtr() method to Ref class to get a raw pointer, in order to simplify the code a bit.
Created attachment 240938 [details] Patch
Comment on attachment 240938 [details] Patch I like it. I might have named this just ptr() rather than asPtr().
(In reply to comment #2) > Comment on attachment 240938 [details] > Patch > > I like it. I might have named this just ptr() rather than asPtr(). Yes, it would be shorter. I will update the patch accordingly before landing, thanks.
Created attachment 240947 [details] Patch
Comment on attachment 240947 [details] Patch Clearing flags on attachment: 240947 Committed r175583: <http://trac.webkit.org/changeset/175583>
All reviewed patches have been landed. Closing bug.