summaryrefslogtreecommitdiffstats
path: root/content/browser/ssl/ssl_policy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/ssl/ssl_policy.cc')
-rw-r--r--content/browser/ssl/ssl_policy.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/ssl/ssl_policy.cc b/content/browser/ssl/ssl_policy.cc
index ec55736..41156d5 100644
--- a/content/browser/ssl/ssl_policy.cc
+++ b/content/browser/ssl/ssl_policy.cc
@@ -138,6 +138,8 @@ void SSLPolicy::UpdateEntry(NavigationEntryImpl* entry,
if (web_contents->DisplayedInsecureContent())
entry->GetSSL().content_status |= SSLStatus::DISPLAYED_INSECURE_CONTENT;
+ else
+ entry->GetSSL().content_status &= ~SSLStatus::DISPLAYED_INSECURE_CONTENT;
}
void SSLPolicy::OnAllowCertificate(scoped_refptr<SSLCertErrorHandler> handler,