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

Unified Diff: base/mac/scoped_authorizationref.h

Issue 986563003: base: Remove operator& from ScopedAuthorizationRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: authorization: for-official-build Created 5 years, 9 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
« no previous file with comments | « base/mac/authorization_util.mm ('k') | remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/scoped_authorizationref.h
diff --git a/base/mac/scoped_authorizationref.h b/base/mac/scoped_authorizationref.h
index 6413f2e41649849c6cb7153b43e29a2b34a8037e..18114883800a53e217b50114e036168a7c0de01b 100644
--- a/base/mac/scoped_authorizationref.h
+++ b/base/mac/scoped_authorizationref.h
@@ -49,9 +49,7 @@ class ScopedAuthorizationRef {
return authorization_;
}
- AuthorizationRef* operator&() {
- return &authorization_;
- }
+ AuthorizationRef* get_pointer() { return &authorization_; }
AuthorizationRef get() const {
return authorization_;
« no previous file with comments | « base/mac/authorization_util.mm ('k') | remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698