forked from mirrors/gecko-dev
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:
parent
ca18bee08c
commit
0ad858a8b7
1 changed files with 4 additions and 0 deletions
|
|
@ -484,7 +484,11 @@ nsresult nsLookAndFeel::NativeGetInt(IntID aID, int32_t& aResult) {
|
||||||
aResult = NSWorkspace.sharedWorkspace.accessibilityDisplayShouldIncreaseContrast;
|
aResult = NSWorkspace.sharedWorkspace.accessibilityDisplayShouldIncreaseContrast;
|
||||||
break;
|
break;
|
||||||
case IntID::VideoDynamicRange:
|
case IntID::VideoDynamicRange:
|
||||||
|
#ifdef EARLY_BETA_OR_EARLIER
|
||||||
|
aResult = nsCocoaFeatures::OnCatalinaOrLater();
|
||||||
|
#else
|
||||||
aResult = nsCocoaFeatures::OnBigSurOrLater();
|
aResult = nsCocoaFeatures::OnBigSurOrLater();
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
aResult = 0;
|
aResult = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue