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(); |