summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ssl_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ssl_manager.cc')
-rw-r--r--chrome/browser/ssl_manager.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/ssl_manager.cc b/chrome/browser/ssl_manager.cc
index be58f24..8454c09 100644
--- a/chrome/browser/ssl_manager.cc
+++ b/chrome/browser/ssl_manager.cc
@@ -247,10 +247,8 @@ void SSLManager::SetMaxSecurityStyle(SecurityStyle style) {
return;
}
- if (entry->ssl().security_style() > style) {
+ if (entry->ssl().security_style() > style)
entry->ssl().set_security_style(style);
- controller_->EntryUpdated(entry);
- }
}
// Delegate API method.
@@ -652,10 +650,10 @@ void SSLManager::DidCommitProvisionalLoad(ProvisionalLoadDetails* details) {
// We may not have an entry if this is a navigation to an initial blank
// page. Reset the SSL information and add the new data we have.
entry->ssl() = NavigationEntry::SSLStatus();
+ InitializeEntryIfNeeded(entry); // For security_style.
entry->ssl().set_cert_id(details->ssl_cert_id());
entry->ssl().set_cert_status(details->ssl_cert_status());
entry->ssl().set_security_bits(details->ssl_security_bits());
- controller_->EntryUpdated(entry);
}
if (details->interstitial_page()) {