Bug 1788105: Make video-dynamic-range: high match for macOS 10.15+. r=gfx-reviewers,jrmuizel

Differential Revision: https://phabricator.services.mozilla.com/D156000
This commit is contained in:
Brad Werth 2022-08-30 19:56:16 +00:00
parent ca18bee08c
commit 0ad858a8b7

View file

@ -484,7 +484,11 @@ nsresult nsLookAndFeel::NativeGetInt(IntID aID, int32_t& aResult) {
aResult = NSWorkspace.sharedWorkspace.accessibilityDisplayShouldIncreaseContrast;
break;
case IntID::VideoDynamicRange:
#ifdef EARLY_BETA_OR_EARLIER
aResult = nsCocoaFeatures::OnCatalinaOrLater();
#else
aResult = nsCocoaFeatures::OnBigSurOrLater();
#endif
break;
default:
aResult = 0;