diff options
author | Brian Smith <brian@dbsoft.org> | 2020-11-23 08:18:34 -0600 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-02 07:20:45 +0000 |
commit | a7a521e378c0528c1c36456c30069d34e204965f (patch) | |
tree | 6f9b9dda2631094d6ea92b18f31b9f87decc3280 /widget/cocoa/nsCocoaFeatures.h | |
parent | e9b56e301c6d5d13d3608089e418283cfc832759 (diff) | |
download | UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.gz UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.lz UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.xz UXP-a7a521e378c0528c1c36456c30069d34e204965f.zip |
Issue #1690 - Part 1: Fix MacOS version detection above 10.15.
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
Diffstat (limited to 'widget/cocoa/nsCocoaFeatures.h')
-rw-r--r-- | widget/cocoa/nsCocoaFeatures.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widget/cocoa/nsCocoaFeatures.h b/widget/cocoa/nsCocoaFeatures.h index 7ebbe759f..a9cab95d5 100644 --- a/widget/cocoa/nsCocoaFeatures.h +++ b/widget/cocoa/nsCocoaFeatures.h @@ -14,10 +14,10 @@ /// is the only call that returns the unadjusted values. class nsCocoaFeatures { public: - static int32_t OSXVersion(); - static int32_t OSXVersionMajor(); - static int32_t OSXVersionMinor(); - static int32_t OSXVersionBugFix(); + static int32_t macOSVersion(); + static int32_t macOSVersionMajor(); + static int32_t macOSVersionMinor(); + static int32_t macOSVersionBugFix(); static bool OnYosemiteOrLater(); static bool OnElCapitanOrLater(); static bool OnSierraOrLater(); @@ -41,6 +41,6 @@ public: private: static void InitializeVersionNumbers(); - static int32_t mOSXVersion; + static int32_t mOSVersion; }; #endif // nsCocoaFeatures_h_ |