зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1838415 - Introduce RFPTarget::UseStandinsForNativeColors. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181241
This commit is contained in:
Родитель
ebd792fb02
Коммит
ea9dd64c2b
|
@ -93,7 +93,7 @@ static bool UseStandinsForNativeColors() {
|
|||
"enabled, so we check the global preference"
|
||||
"not excluding chrome browsers or webpages, so we call the legacy "
|
||||
"RFP function to prevent that",
|
||||
RFPTarget::Unknown) ||
|
||||
RFPTarget::UseStandinsForNativeColors) ||
|
||||
StaticPrefs::ui_use_standins_for_native_colors();
|
||||
}
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ ITEM_VALUE(FontVisibilityLangPack, 1llu << 43)
|
|||
ITEM_VALUE(DeviceSensors, 1llu << 44)
|
||||
ITEM_VALUE(FrameRate, 1llu << 45)
|
||||
ITEM_VALUE(RoundWindowSize, 1llu << 46)
|
||||
ITEM_VALUE(UseStandinsForNativeColors, 1llu << 47)
|
||||
|
||||
// !!! Don't forget to update kDefaultFingerintingProtections in nsRFPService.cpp
|
||||
// if necessary.
|
||||
|
|
Загрузка…
Ссылка в новой задаче