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

Unified Diff: chrome/browser/ui/views/frame/web_app_left_header_view_ash.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/ui/views/frame/web_app_left_header_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc b/chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc
index d20d36f124d6a9b7d5cf715448c0763de00d2f08..3623a8a59059ab1ef97fb208d6117dbf908c4fda 100644
--- a/chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc
+++ b/chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc
@@ -92,7 +92,8 @@ void WebAppLeftHeaderView::ShowWebsiteSettings() const {
ChromeSecurityStateModelClient::FromWebContents(tab);
DCHECK(security_model_client);
+ security_state::SecurityStateModel::SecurityInfo security_info;
+ security_model_client->GetSecurityInfo(&security_info);
chrome::ShowWebsiteSettings(browser_view_->browser(), tab,
- nav_entry->GetVirtualURL(),
- security_model_client->GetSecurityInfo());
+ nav_entry->GetVirtualURL(), security_info);
}
« no previous file with comments | « chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc ('k') | chrome/browser/ui/views/location_bar/location_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698