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

Unified Diff: chrome/browser/ssl/chrome_security_state_model_client.cc

Issue 2363623002: Remove SecurityStateModel memoization (Closed)
Patch Set: 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: chrome/browser/ssl/chrome_security_state_model_client.cc
diff --git a/chrome/browser/ssl/chrome_security_state_model_client.cc b/chrome/browser/ssl/chrome_security_state_model_client.cc
index 90acd7f2cbc2029c65c4a25f241c22d1712f72e9..59372b7612c7258a9dbf48b5252b8080e1ffb4d5 100644
--- a/chrome/browser/ssl/chrome_security_state_model_client.cc
+++ b/chrome/browser/ssl/chrome_security_state_model_client.cc
@@ -320,9 +320,9 @@ content::SecurityStyle ChromeSecurityStateModelClient::GetSecurityStyle(
return security_style;
}
-const SecurityStateModel::SecurityInfo&
-ChromeSecurityStateModelClient::GetSecurityInfo() const {
- return security_state_model_->GetSecurityInfo();
+void ChromeSecurityStateModelClient::GetSecurityInfo(
+ SecurityStateModel::SecurityInfo* result) const {
+ security_state_model_->GetSecurityInfo(result);
}
bool ChromeSecurityStateModelClient::RetrieveCert(

Powered by Google App Engine
This is Rietveld 408576698