| 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 ee5afdf45da10fe739c4b70b186c9ec9400f8117..b1a0d36b66a4cac24190b1da5d0d3c086a475d5b 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -89,6 +89,7 @@
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/page_zoom.h"
|
| #include "content/public/common/result_codes.h"
|
| +#include "content/public/common/security_style.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "content/public/common/url_utils.h"
|
| #include "content/public/common/web_preferences.h"
|
| @@ -3211,8 +3212,13 @@ void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() {
|
| }
|
|
|
| void WebContentsImpl::DidChangeVisibleSSLState() {
|
| - if (delegate_)
|
| + if (delegate_) {
|
| delegate_->VisibleSSLStateChanged(this);
|
| +
|
| + content::SecurityStyle security_style = delegate_->GetSecurityStyle(this);
|
| + FOR_EACH_OBSERVER(WebContentsObserver, observers_,
|
| + SecurityStyleChanged(security_style));
|
| + }
|
| }
|
|
|
| void WebContentsImpl::NotifyBeforeFormRepostWarningShow() {
|
|
|