Title: [282704] trunk/Source/WTF
- Revision
- 282704
- Author
- [email protected]
- Date
- 2021-09-17 16:08:57 -0700 (Fri, 17 Sep 2021)
Log Message
Build fix: WebKit::WebProcessPool should use a weak observer with CFNotificationCenter
<https://webkit.org/b/230227>
<rdar://problem/83067708>
* wtf/spi/cocoa/NSObjCRuntimeSPI.h:
- Fix internal Catalina builds by including
NSObjCRuntime_Private.h, but falling through to define
NS_DIRECT and NS_DIRECT_MEMBERS if they weren't defined in the
private header.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (282703 => 282704)
--- trunk/Source/WTF/ChangeLog 2021-09-17 23:08:52 UTC (rev 282703)
+++ trunk/Source/WTF/ChangeLog 2021-09-17 23:08:57 UTC (rev 282704)
@@ -1,3 +1,15 @@
+2021-09-17 David Kilzer <[email protected]>
+
+ Build fix: WebKit::WebProcessPool should use a weak observer with CFNotificationCenter
+ <https://webkit.org/b/230227>
+ <rdar://problem/83067708>
+
+ * wtf/spi/cocoa/NSObjCRuntimeSPI.h:
+ - Fix internal Catalina builds by including
+ NSObjCRuntime_Private.h, but falling through to define
+ NS_DIRECT and NS_DIRECT_MEMBERS if they weren't defined in the
+ private header.
+
2021-09-16 David Kilzer <[email protected]>
WebKit::WebProcessPool should use a weak observer with CFNotificationCenter
Modified: trunk/Source/WTF/wtf/spi/cocoa/NSObjCRuntimeSPI.h (282703 => 282704)
--- trunk/Source/WTF/wtf/spi/cocoa/NSObjCRuntimeSPI.h 2021-09-17 23:08:52 UTC (rev 282703)
+++ trunk/Source/WTF/wtf/spi/cocoa/NSObjCRuntimeSPI.h 2021-09-17 23:08:57 UTC (rev 282704)
@@ -26,11 +26,9 @@
#pragma once
#if USE(APPLE_INTERNAL_SDK)
-
#include <Foundation/NSObjCRuntime_Private.h>
+#endif
-#else
-
#include <wtf/Platform.h>
// Apply this to a specific method in the @interface or @implementation.
@@ -50,5 +48,3 @@
#define NS_DIRECT_MEMBERS
#endif
#endif
-
-#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes