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 f154585b299daa0eb03641e17ba460ee0c16b5bf..19b75cb5fa76640e930f7f0624380caaec95d041 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2944,8 +2944,8 @@ void WebContentsImpl::OnFirstVisuallyNonEmptyPaint() { |
} |
void WebContentsImpl::DidChangeVisibleSSLState() { |
- FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
- DidChangeVisibleSSLState()); |
+ if (delegate_) |
+ delegate_->VisibleSSLStateChanged(this); |
} |
void WebContentsImpl::NotifyBeforeFormRepostWarningShow() { |