| Index: base/scoped_cftyperef.h
|
| ===================================================================
|
| --- base/scoped_cftyperef.h (revision 12217)
|
| +++ base/scoped_cftyperef.h (working copy)
|
| @@ -12,6 +12,10 @@
|
| // of a CoreFoundation object: any object that can be represented as a
|
| // CFTypeRef. Style deviations here are solely for compatibility with
|
| // scoped_ptr<>'s interface, with which everyone is already familiar.
|
| +//
|
| +// When scoped_cftyperef<> takes ownership of an object (in the constructor or
|
| +// in reset()), it takes over the caller's existing ownership claim. The
|
| +// caller must own the object. scoped_cftyperef<> does not call CFRetain().
|
| template<typename CFT>
|
| class scoped_cftyperef {
|
| public:
|
|
|