Bug 1653026 - Added HTTPS-Only Mode upgrade info to browser UI state. r=mattwoodrow,necko-reviewers,dragana

Differential Revision: https://phabricator.services.mozilla.com/D86566
This commit is contained in:
julianwels
2020-10-03 01:22:19 +00:00
parent cc01fd1327
commit 6bc43a95a4
20 changed files with 95 additions and 46 deletions

View File

@@ -177,10 +177,9 @@ void CanonicalBrowsingContext::ReplacedBy(
mActiveEntry.swap(aNewContext->mActiveEntry);
}
void CanonicalBrowsingContext::
UpdateSecurityStateForLocationOrMixedContentChange() {
void CanonicalBrowsingContext::UpdateSecurityState() {
if (mSecureBrowserUI) {
mSecureBrowserUI->UpdateForLocationOrMixedContentChange();
mSecureBrowserUI->RecomputeSecurityFlags();
}
}