Index: base/mac/scoped_typeref.h |
diff --git a/base/mac/scoped_typeref.h b/base/mac/scoped_typeref.h |
index 551ddf23ec9094512edf9c6da1fca32896d9f05e..eed5afb539e35ce7b6a25a4f56daa87291b92e4b 100644 |
--- a/base/mac/scoped_typeref.h |
+++ b/base/mac/scoped_typeref.h |
@@ -11,7 +11,7 @@ |
namespace base { |
-// ScopedTypeRef<> is patterned after scoped_ptr<>, but maintains a ownership |
+// ScopedTypeRef<> is patterned after std::unique_ptr<>, but maintains ownership |
// 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 +131,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 { |