Index: chrome/browser/ui/views/location_bar/page_info_helper.cc |
diff --git a/chrome/browser/ui/views/location_bar/page_info_helper.cc b/chrome/browser/ui/views/location_bar/page_info_helper.cc |
index 42bb120b863f9cc6e671c4d1b2e0ceed51719dd6..72d9477915f18e276b58e010e974786e1f5ac83a 100644 |
--- a/chrome/browser/ui/views/location_bar/page_info_helper.cc |
+++ b/chrome/browser/ui/views/location_bar/page_info_helper.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/ui/views/location_bar/page_info_helper.h" |
#include "chrome/browser/search/search.h" |
+#include "chrome/browser/ssl/chrome_security_state_model_delegate.h" |
#include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
#include "components/omnibox/browser/omnibox_view.h" |
#include "content/public/browser/navigation_controller.h" |
@@ -36,9 +37,10 @@ void PageInfoHelper::ProcessEvent(const ui::LocatedEvent& event) { |
if (!nav_entry) |
return; |
- SecurityStateModel* security_model = SecurityStateModel::FromWebContents(tab); |
- DCHECK(security_model); |
+ ChromeSecurityStateModelDelegate* security_model_delegate = |
+ ChromeSecurityStateModelDelegate::FromWebContents(tab); |
+ DCHECK(security_model_delegate); |
location_bar_->delegate()->ShowWebsiteSettings( |
- tab, nav_entry->GetURL(), security_model->GetSecurityInfo()); |
+ tab, nav_entry->GetURL(), security_model_delegate->GetSecurityInfo()); |
} |