Chromium Code Reviews| Index: base/mac/scoped_typeref.h |
| diff --git a/base/mac/scoped_typeref.h b/base/mac/scoped_typeref.h |
| index 551ddf23ec9094512edf9c6da1fca32896d9f05e..d847a5a8198b74aacb162593bc59e444695c0519 100644 |
| --- a/base/mac/scoped_typeref.h |
| +++ b/base/mac/scoped_typeref.h |
| @@ -11,7 +11,8 @@ |
| namespace base { |
| -// ScopedTypeRef<> is patterned after scoped_ptr<>, but maintains a ownership |
| +// ScopedTypeRef<> is patterned after std::unique_ptr<>, but maintains a |
| +// ownership |
|
Nico
2016/04/04 17:14:56
likewise
dcheng
2016/04/04 17:43:38
Done.
|
| // of a reference to any type that is maintained by Retain and Release methods. |
| // |
| // The Traits structure must provide the Retain and Release methods for type T. |
| @@ -131,7 +132,7 @@ class ScopedTypeRef { |
| object_ = temp; |
| } |
| - // ScopedTypeRef<>::release() is like scoped_ptr<>::release. It is NOT |
| + // ScopedTypeRef<>::release() is like std::unique_ptr<>::release. It is NOT |
| // a wrapper for Release(). To force a ScopedTypeRef<> object to call |
| // Release(), use ScopedTypeRef<>::reset(). |
| T release() WARN_UNUSED_RESULT { |