Index: chrome/browser/ssl/bad_clock_blocking_page.cc |
diff --git a/chrome/browser/ssl/bad_clock_blocking_page.cc b/chrome/browser/ssl/bad_clock_blocking_page.cc |
index 5666afcbc2e7b8121c58831b29f50917e4a824f7..7f669b10e62da3aa3f7fee23917c09f2d1c32e84 100644 |
--- a/chrome/browser/ssl/bad_clock_blocking_page.cc |
+++ b/chrome/browser/ssl/bad_clock_blocking_page.cc |
@@ -17,7 +17,6 @@ |
#include "components/security_interstitials/core/bad_clock_ui.h" |
#include "components/security_interstitials/core/controller_client.h" |
#include "components/security_interstitials/core/metrics_helper.h" |
-#include "content/public/browser/cert_store.h" |
#include "content/public/browser/interstitial_page.h" |
#include "content/public/browser/interstitial_page_delegate.h" |
#include "content/public/browser/navigation_controller.h" |
@@ -108,13 +107,8 @@ void BadClockBlockingPage::PopulateInterstitialStrings( |
} |
void BadClockBlockingPage::OverrideEntry(NavigationEntry* entry) { |
- const int process_id = web_contents()->GetRenderProcessHost()->GetID(); |
- const int cert_id = content::CertStore::GetInstance()->StoreCert( |
- ssl_info_.cert.get(), process_id); |
- DCHECK(cert_id); |
- |
entry->GetSSL() = content::SSLStatus( |
- content::SECURITY_STYLE_AUTHENTICATION_BROKEN, cert_id, ssl_info_); |
+ content::SECURITY_STYLE_AUTHENTICATION_BROKEN, ssl_info_.cert, ssl_info_); |
} |
void BadClockBlockingPage::SetSSLCertReporterForTesting( |