Index: chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
index 6678f3347443b22dde3f61ac22a5299ddf63a6fc..7c0a10ed200134049d06b5c82efebd3f4e163f01 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm |
@@ -118,8 +118,12 @@ bool LocationIconDecoration::OnMousePressed(NSRect frame, NSPoint location) { |
if (!nav_entry) |
return true; |
Browser* browser = chrome::FindBrowserWithWebContents(tab); |
+ |
+ SecurityStateModel* security_model = SecurityStateModel::FromWebContents(tab); |
+ DCHECK(security_model); |
+ |
chrome::ShowWebsiteSettings(browser, tab, nav_entry->GetURL(), |
- nav_entry->GetSSL()); |
+ security_model->GetSecurityInfo()); |
return true; |
} |