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

Unified Diff: chrome/browser/ui/cocoa/certificate_viewer_mac.mm

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with fixed off-by-1 in git-clang-format Created 7 years, 6 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: chrome/browser/ui/cocoa/certificate_viewer_mac.mm
diff --git a/chrome/browser/ui/cocoa/certificate_viewer_mac.mm b/chrome/browser/ui/cocoa/certificate_viewer_mac.mm
index 5fc37c5d1545b8da2f7838222d65f6c75ed0ae53..0e66381f5d02e40fa452a3c7fc587d518da77b88 100644
--- a/chrome/browser/ui/cocoa/certificate_viewer_mac.mm
+++ b/chrome/browser/ui/cocoa/certificate_viewer_mac.mm
@@ -80,7 +80,7 @@ void ShowCertificateViewer(content::WebContents* web_contents,
- (id)initWithCertificate:(net::X509Certificate*)certificate {
if ((self = [super init])) {
- base::mac::ScopedCFTypeRef<CFArrayRef> cert_chain(
+ base::ScopedCFTypeRef<CFArrayRef> cert_chain(
certificate->CreateOSCertChainForCert());
NSArray* certificates = base::mac::CFToNSCast(cert_chain.get());
certificates_.reset([certificates retain]);
@@ -110,7 +110,7 @@ void ShowCertificateViewer(content::WebContents* web_contents,
// the certificate viewer UI from displaying which certificate is revoked.
// This is acceptable, as certificate revocation will still be shown in
// the page info bubble if a certificate in the chain is actually revoked.
- base::mac::ScopedCFTypeRef<CFMutableArrayRef> policies(
+ base::ScopedCFTypeRef<CFMutableArrayRef> policies(
CFArrayCreateMutable(kCFAllocatorDefault, 0, &kCFTypeArrayCallBacks));
if (!policies.get()) {
NOTREACHED();
« no previous file with comments | « chrome/browser/ui/cocoa/animatable_image.mm ('k') | chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698