Chromium Code Reviews| Index: base/mac/scoped_cftyperef.h |
| diff --git a/base/mac/scoped_cftyperef.h b/base/mac/scoped_cftyperef.h |
| index 1be0fbe56d1e1002f2c96b71c550a9b28b0b505e..4f336562e706e3be9b6902cecc2ddf6b658efc38 100644 |
| --- a/base/mac/scoped_cftyperef.h |
| +++ b/base/mac/scoped_cftyperef.h |
| @@ -11,10 +11,11 @@ |
| namespace base { |
| -// ScopedCFTypeRef<> is patterned after scoped_ptr<>, but maintains ownership |
| +// ScopedCFTypeRef<> is patterned after std::unique_ptr<>, but maintains |
| +// ownership |
|
Nico
2016/04/04 17:14:56
likewise
dcheng
2016/04/04 17:43:38
Done.
|
| // 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. |
| +// std::unique_ptr<>'s interface, with which everyone is already familiar. |
| // |
| // By default, ScopedCFTypeRef<> takes ownership of an object (in the |
| // constructor or in reset()) by taking over the caller's existing ownership |