Index: chrome/browser/ui/toolbar/toolbar_model.cc |
diff --git a/chrome/browser/ui/toolbar/toolbar_model.cc b/chrome/browser/ui/toolbar/toolbar_model.cc |
index 024c2722a8ba4fe3fee8817d148301f48f2c58ea..5a6a97cf7eaa38ee0c0ef1e998530f054fa10b51 100644 |
--- a/chrome/browser/ui/toolbar/toolbar_model.cc |
+++ b/chrome/browser/ui/toolbar/toolbar_model.cc |
@@ -88,7 +88,7 @@ ToolbarModel::SecurityLevel ToolbarModel::GetSecurityLevel() const { |
return SECURITY_WARNING; |
} |
if ((ssl.cert_status() & net::CERT_STATUS_IS_EV) && |
- CertStore::GetSharedInstance()->RetrieveCert(ssl.cert_id(), NULL)) |
+ CertStore::GetInstance()->RetrieveCert(ssl.cert_id(), NULL)) |
return EV_SECURE; |
return SECURE; |
@@ -115,7 +115,7 @@ std::wstring ToolbarModel::GetEVCertName() const { |
scoped_refptr<net::X509Certificate> cert; |
// Note: Navigation controller and active entry are guaranteed non-NULL or |
// the security level would be NONE. |
- CertStore::GetSharedInstance()->RetrieveCert( |
+ CertStore::GetInstance()->RetrieveCert( |
GetNavigationController()->GetActiveEntry()->ssl().cert_id(), &cert); |
return SSLManager::GetEVCertName(*cert); |
} |