| 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 e5bc81d58a9cdd9bfa34e5ff26ba49ac39f27538..80c4250027ec479dda64005125c8effbd7592d0a 100644
|
| --- a/chrome/browser/ssl/ssl_blocking_page.cc
|
| +++ b/chrome/browser/ssl/ssl_blocking_page.cc
|
| @@ -83,7 +83,7 @@ std::string SSLBlockingPage::GetHTMLContents() {
|
| // Let's build the html error page.
|
| DictionaryValue strings;
|
| SSLErrorInfo error_info = SSLErrorInfo::CreateError(
|
| - SSLErrorInfo::NetErrorToErrorType(cert_error_), ssl_info_.cert,
|
| + SSLErrorInfo::NetErrorToErrorType(cert_error_), ssl_info_.cert.get(),
|
| request_url_);
|
|
|
| strings.SetString("headLine", error_info.title());
|
| @@ -129,7 +129,7 @@ std::string SSLBlockingPage::GetHTMLContents() {
|
|
|
| void SSLBlockingPage::OverrideEntry(NavigationEntry* entry) {
|
| int cert_id = content::CertStore::GetInstance()->StoreCert(
|
| - ssl_info_.cert, web_contents_->GetRenderProcessHost()->GetID());
|
| + ssl_info_.cert.get(), web_contents_->GetRenderProcessHost()->GetID());
|
|
|
| entry->GetSSL().security_style =
|
| content::SECURITY_STYLE_AUTHENTICATION_BROKEN;
|
|
|