| Index: chrome/browser/ssl/ssl_blocking_page.cc
|
| diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc
|
| index 0672e235e7305e9d801c7ebf82bfa755d78a5f5d..90e04166b8477b1f216e9ec568aaac2be5a42682 100644
|
| --- a/chrome/browser/ssl/ssl_blocking_page.cc
|
| +++ b/chrome/browser/ssl/ssl_blocking_page.cc
|
| @@ -26,7 +26,6 @@
|
| #include "components/security_interstitials/core/controller_client.h"
|
| #include "components/security_interstitials/core/metrics_helper.h"
|
| #include "components/security_interstitials/core/ssl_error_ui.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_entry.h"
|
| @@ -193,13 +192,8 @@ void SSLBlockingPage::PopulateInterstitialStrings(
|
| }
|
|
|
| void SSLBlockingPage::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 SSLBlockingPage::SetSSLCertReporterForTesting(
|
|
|