forked from mirrors/gecko-dev
Bug 1811863 - Use a more precise RFP check in nsPresContext::UpdateFontVisibility. r=jfkthame
Depends on D167822 Differential Revision: https://phabricator.services.mozilla.com/D167823
This commit is contained in:
parent
4e6f96bce0
commit
b698c332c0
1 changed files with 1 additions and 1 deletions
|
|
@ -754,7 +754,7 @@ bool nsPresContext::UpdateFontVisibility() {
|
|||
// Read the relevant pref depending on RFP/trackingProtection state
|
||||
// to determine the visibility level to use.
|
||||
int32_t level;
|
||||
if (StaticPrefs::privacy_resistFingerprinting()) {
|
||||
if (mDocument->ShouldResistFingerprinting()) {
|
||||
level = StaticPrefs::layout_css_font_visibility_resistFingerprinting();
|
||||
} else if (StaticPrefs::privacy_trackingprotection_enabled() ||
|
||||
(isPrivate &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue