Index: base/mac/scoped_authorizationref.h |
diff --git a/base/mac/scoped_authorizationref.h b/base/mac/scoped_authorizationref.h |
index 39afa8c9a5d89dc580a90d5514d7f8142ed0a5a5..03cde86140e6aa74a5edb69643c0ec6e4896e0eb 100644 |
--- a/base/mac/scoped_authorizationref.h |
+++ b/base/mac/scoped_authorizationref.h |
@@ -61,10 +61,9 @@ class ScopedAuthorizationRef { |
authorization_ = temp; |
} |
- // ScopedAuthorizationRef::release() is like scoped_ptr<>::release. It is |
- // NOT a wrapper for AuthorizationFree(). To force a |
- // ScopedAuthorizationRef object to call AuthorizationFree(), use |
- // ScopedAuthorizationRef::reset(). |
+ // ScopedAuthorizationRef::release() is like std::unique_ptr<>::release. It is |
+ // NOT a wrapper for AuthorizationFree(). To force a ScopedAuthorizationRef |
+ // object to call AuthorizationFree(), use ScopedAuthorizationRef::reset(). |
AuthorizationRef release() WARN_UNUSED_RESULT { |
AuthorizationRef temp = authorization_; |
authorization_ = NULL; |