From a7a521e378c0528c1c36456c30069d34e204965f Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Mon, 23 Nov 2020 08:18:34 -0600 Subject: Issue #1690 - Part 1: Fix MacOS version detection above 10.15. Changes based on Mozilla bug 1616404 but supporting back to 10.7. --- widget/cocoa/nsCocoaFeatures.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'widget/cocoa/nsCocoaFeatures.h') 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_ -- cgit v1.2.3