Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3823)

Unified Diff: base/mac/scoped_authorizationref.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant base:: prefix Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/mac/scoped_authorizationref.h
diff --git a/base/mac/scoped_authorizationref.h b/base/mac/scoped_authorizationref.h
index 39afa8c9a5d89dc580a90d5514d7f8142ed0a5a5..7a43efd5b3d48253faafc68993134add0fe96c31 100644
--- a/base/mac/scoped_authorizationref.h
+++ b/base/mac/scoped_authorizationref.h
@@ -61,7 +61,8 @@ class ScopedAuthorizationRef {
authorization_ = temp;
}
- // ScopedAuthorizationRef::release() is like scoped_ptr<>::release. It is
+ // ScopedAuthorizationRef::release() is like std::unique_ptr<>::release. It
+ // is
Nico 2016/04/04 17:14:55 manually reflow this comment (clang-format sucks a
dcheng 2016/04/04 17:43:38 Done.
// NOT a wrapper for AuthorizationFree(). To force a
// ScopedAuthorizationRef object to call AuthorizationFree(), use
// ScopedAuthorizationRef::reset().

Powered by Google App Engine
This is Rietveld 408576698