forked from mirrors/gecko-dev
Bug 1838415 - Introduce RFPTarget::UseStandinsForNativeColors. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181241
This commit is contained in:
parent
ebd792fb02
commit
ea9dd64c2b
2 changed files with 2 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ static bool UseStandinsForNativeColors() {
|
||||||
"enabled, so we check the global preference"
|
"enabled, so we check the global preference"
|
||||||
"not excluding chrome browsers or webpages, so we call the legacy "
|
"not excluding chrome browsers or webpages, so we call the legacy "
|
||||||
"RFP function to prevent that",
|
"RFP function to prevent that",
|
||||||
RFPTarget::Unknown) ||
|
RFPTarget::UseStandinsForNativeColors) ||
|
||||||
StaticPrefs::ui_use_standins_for_native_colors();
|
StaticPrefs::ui_use_standins_for_native_colors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ ITEM_VALUE(FontVisibilityLangPack, 1llu << 43)
|
||||||
ITEM_VALUE(DeviceSensors, 1llu << 44)
|
ITEM_VALUE(DeviceSensors, 1llu << 44)
|
||||||
ITEM_VALUE(FrameRate, 1llu << 45)
|
ITEM_VALUE(FrameRate, 1llu << 45)
|
||||||
ITEM_VALUE(RoundWindowSize, 1llu << 46)
|
ITEM_VALUE(RoundWindowSize, 1llu << 46)
|
||||||
|
ITEM_VALUE(UseStandinsForNativeColors, 1llu << 47)
|
||||||
|
|
||||||
// !!! Don't forget to update kDefaultFingerintingProtections in nsRFPService.cpp
|
// !!! Don't forget to update kDefaultFingerintingProtections in nsRFPService.cpp
|
||||||
// if necessary.
|
// if necessary.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue