Title: [258046] trunk/Source/WebCore/PAL
- Revision
- 258046
- Author
- peng.l...@apple.com
- Date
- 2020-03-06 18:04:13 -0800 (Fri, 06 Mar 2020)
Log Message
Use the feature flags mechanism to give default feature preference values
https://bugs.webkit.org/show_bug.cgi?id=208607
Reviewed by Simon Fraser.
A follow up patch to fix a build error on old SDKs.
* pal/spi/cocoa/FeatureFlagsSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/PAL/ChangeLog (258045 => 258046)
--- trunk/Source/WebCore/PAL/ChangeLog 2020-03-07 01:53:51 UTC (rev 258045)
+++ trunk/Source/WebCore/PAL/ChangeLog 2020-03-07 02:04:13 UTC (rev 258046)
@@ -3,6 +3,17 @@
Use the feature flags mechanism to give default feature preference values
https://bugs.webkit.org/show_bug.cgi?id=208607
+ Reviewed by Simon Fraser.
+
+ A follow up patch to fix a build error on old SDKs.
+
+ * pal/spi/cocoa/FeatureFlagsSPI.h:
+
+2020-03-06 Peng Liu <peng.l...@apple.com>
+
+ Use the feature flags mechanism to give default feature preference values
+ https://bugs.webkit.org/show_bug.cgi?id=208607
+
Reviewed by Youenn Fablet.
* PAL.xcodeproj/project.pbxproj:
Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/FeatureFlagsSPI.h (258045 => 258046)
--- trunk/Source/WebCore/PAL/pal/spi/cocoa/FeatureFlagsSPI.h 2020-03-07 01:53:51 UTC (rev 258045)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/FeatureFlagsSPI.h 2020-03-07 02:04:13 UTC (rev 258046)
@@ -25,6 +25,8 @@
#pragma once
+#if HAVE(HAVE_SYSTEM_FEATURE_FLAGS)
+
#if USE(APPLE_INTERNAL_SDK)
#include <os/feature_private.h>
@@ -31,9 +33,8 @@
#else
-#if HAVE(HAVE_SYSTEM_FEATURE_FLAGS)
#define os_feature_enabled(d, f) _os_feature_enabled_impl(#d, #f)
extern "C" bool _os_feature_enabled_impl(const char *domain, const char *feature);
#endif
-#endif
+#endif // HAVE(HAVE_SYSTEM_FEATURE_FLAGS)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes