btw, looking at Darin's earlier note about releaseRef. I think it would be consistent to rename releaseRef to be leakRef.
On Tue, Jun 29, 2010 at 11:14 AM, Geoffrey Garen <gga...@apple.com> wrote: > > I like leakPtr. > > > > Personally, releasePtr() is so close to release() (which is safe) that I > could easily overlook it in a code review and not realize that it hands off > a raw pointer with a ref count on it. > > > > dave > > +1 > > Anders once argued against the name leakPtr, "Well, then you might as well > rename 'malloc' to 'leak'." > > The more I think about it, though, the more I think that "malloc" really > should be named "leak", at least from the WebKit project's perspective. > > Geoff
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev