[webkit-dev] Why are PassRefPtr<>s used as function parameters?

Geoffrey Garen ggaren at apple.com
Thu Oct 29 16:37:47 PDT 2009


> I don't see why the distinction between a callee simply using an  
> object or adopting it for future use is terribly interesting to the  
> caller.

Agreed. And let's avoid making it interesting!

The whole point of reference counting is to ensure that one object can  
reference a piece of data without knowing or caring whether another  
object references that data.

Geoff


More information about the webkit-dev mailing list