Index: Source/core/platform/mac/NSScrollerImpDetails.h |
diff --git a/Source/core/platform/mac/NSScrollerImpDetails.h b/Source/core/platform/mac/NSScrollerImpDetails.h |
index f5244bc40bc344ae8e68eae3f4ad83e9af7dde0c..08744f2b9438b98078afdfe5b50d2103fdc8922f 100644 |
--- a/Source/core/platform/mac/NSScrollerImpDetails.h |
+++ b/Source/core/platform/mac/NSScrollerImpDetails.h |
@@ -29,7 +29,7 @@ |
#include "config.h" |
// Public APIs not available on versions of Mac on which we build |
-#if __MAC_OS_X_VERSION_MAX_ALLOWED <= 1060 |
+#if __MAC_OS_X_VERSION_MAX_ALLOWED == 1060 |
enum { |
NSScrollerStyleLegacy = 0, |
NSScrollerStyleOverlay = 1 |
@@ -44,7 +44,7 @@ enum { |
typedef NSInteger NSScrollerKnobStyle; |
#endif |
-#if __MAC_OS_X_VERSION_MAX_ALLOWED <= 1060 |
+#if __MAC_OS_X_VERSION_MAX_ALLOWED == 1060 |
@interface NSScroller(NSObject) |
+ (NSScrollerStyle)preferredScrollerStyle; |
@end |