Chromium Code Reviews| Index: chrome/browser/ui/browser.cc |
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
| index e6cc266c85a03406dd0705897fd5cea1f6154b3b..ff81232e78431f61261ed696c6a1e86b8cb0a092 100644 |
| --- a/chrome/browser/ui/browser.cc |
| +++ b/chrome/browser/ui/browser.cc |
| @@ -1424,12 +1424,16 @@ void Browser::NavigationStateChanged(WebContents* source, |
| hosted_app_controller_->UpdateLocationBarVisibility(true); |
| } |
| -void Browser::VisibleSSLStateChanged(const WebContents* source) { |
| +void Browser::VisibleSSLStateChanged(WebContents* source) { |
| // When the current tab's SSL state changes, we need to update the URL |
| // bar to reflect the new state. |
| DCHECK(source); |
| if (tab_strip_model_->GetActiveWebContents() == source) |
| UpdateToolbar(false); |
| + |
| + ChromeSecurityStateModelClient* security_model = |
| + ChromeSecurityStateModelClient::FromWebContents(source); |
|
felt
2016/10/17 16:59:33
To make sure I understand:
(1) Something triggers
estark
2016/10/17 17:14:20
CSSMC::VisibleSSLStateChanged() computes the Secur
felt
2016/10/17 17:18:36
Oh I see, I missed that there was a call to GetSec
|
| + security_model->VisibleSSLStateChanged(); |
| } |
| void Browser::AddNewContents(WebContents* source, |