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