Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: ios/chrome/browser/ssl/ios_ssl_blocking_page.mm

Issue 2327433002: Stop using CertStore which is not compatible with PlzNavigate. (Closed)
Patch Set: remove certstore on non-ios and update plznavigate test filter Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
diff --git a/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm b/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
index b689c5981214d619321340a39d5d9d1b1cd6d43d..097632b528d99f3e49d240a81e11c9f48d74ce0f 100644
--- a/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
+++ b/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
@@ -195,8 +195,7 @@ void IOSSSLBlockingPage::OverrideItem(web::NavigationItem* item) {
// On iOS cert may be null when it is not provided by API callback or can not
// be parsed.
if (ssl_info_.cert) {
- item->GetSSL().cert_id = web::CertStore::GetInstance()->StoreCert(
- ssl_info_.cert.get(), web_state()->GetCertGroupId());
+ item->GetSSL().certificate = ssl_info_.cert;
}
}

Powered by Google App Engine
This is Rietveld 408576698