Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.cc |
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
| index 1e5e8b7a7a00631b333c9433eb34d1f1313f9f0c..484b1715eb4d300b38052621c08e30c396131b38 100644 |
| --- a/content/browser/web_contents/web_contents_impl.cc |
| +++ b/content/browser/web_contents/web_contents_impl.cc |
| @@ -1464,13 +1464,8 @@ void WebContentsImpl::AttachToOuterWebContentsFrame( |
| void WebContentsImpl::DidChangeVisibleSecurityState() { |
| if (delegate_) { |
| delegate_->VisibleSecurityStateChanged(this); |
| - |
| - SecurityStyleExplanations security_style_explanations; |
| - blink::WebSecurityStyle security_style = |
| - delegate_->GetSecurityStyle(this, &security_style_explanations); |
| for (auto& observer : observers_) { |
|
clamy
2016/12/09 14:25:44
nit: remove curly braces, since the condition is n
cjgrant
2016/12/09 16:08:29
Done.
|
| - observer.SecurityStyleChanged(security_style, |
| - security_style_explanations); |
| + observer.DidChangeVisibleSecurityState(); |
| } |
| } |
| } |