| 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 5e1f67d8a93b50577a4f186d30128c0f3d7d967a..b1328e84fb329c60991861f27f259a02992af992 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -2225,7 +2225,8 @@ void WebContentsImpl::OnDidLoadResourceFromMemoryCache(
|
| void WebContentsImpl::OnDidDisplayInsecureContent() {
|
| RecordAction(UserMetricsAction("SSL.DisplayedInsecureContent"));
|
| displayed_insecure_content_ = true;
|
| - SSLManager::NotifySSLInternalStateChanged(&GetController());
|
| + SSLManager::NotifySSLInternalStateChanged(
|
| + GetController().GetBrowserContext());
|
| }
|
|
|
| void WebContentsImpl::OnDidRunInsecureContent(
|
| @@ -2237,7 +2238,8 @@ void WebContentsImpl::OnDidRunInsecureContent(
|
| RecordAction(UserMetricsAction("SSL.RanInsecureContentGoogle"));
|
| controller_.ssl_manager()->DidRunInsecureContent(security_origin);
|
| displayed_insecure_content_ = true;
|
| - SSLManager::NotifySSLInternalStateChanged(&GetController());
|
| + SSLManager::NotifySSLInternalStateChanged(
|
| + GetController().GetBrowserContext());
|
| }
|
|
|
| void WebContentsImpl::OnDocumentLoadedInFrame(int64 frame_id) {
|
| @@ -2514,6 +2516,11 @@ void WebContentsImpl::DidBlock3DAPIs(const GURL& url,
|
| DidBlock3DAPIs(url, requester));
|
| }
|
|
|
| +void WebContentsImpl::DidChangeVisibleSSLState() {
|
| + FOR_EACH_OBSERVER(WebContentsObserver, observers_,
|
| + DidChangeVisibleSSLState());
|
| +}
|
| +
|
| // Notifies the RenderWidgetHost instance about the fact that the page is
|
| // loading, or done loading and calls the base implementation.
|
| void WebContentsImpl::SetIsLoading(bool is_loading,
|
|
|