Title: [280384] trunk/Source/WebCore/PAL
- Revision
- 280384
- Author
- [email protected]
- Date
- 2021-07-28 08:55:25 -0700 (Wed, 28 Jul 2021)
Log Message
Fix build with SDKs containing new CFNetwork SPI declaration
https://bugs.webkit.org/show_bug.cgi?id=228553
<rdar://81202574>
Reviewed by Brady Eidson.
CFNSURLConnection.h also has "@interface NSURLSessionConfiguration ()"
ObjC doesn't like it if you have the exact same thing in the parentheses and a duplicate declaration.
I reproduced the build failure with a modified SDK and verified this fixes it.
* pal/spi/cf/CFNetworkSPI.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/PAL/ChangeLog (280383 => 280384)
--- trunk/Source/WebCore/PAL/ChangeLog 2021-07-28 15:33:56 UTC (rev 280383)
+++ trunk/Source/WebCore/PAL/ChangeLog 2021-07-28 15:55:25 UTC (rev 280384)
@@ -1,3 +1,17 @@
+2021-07-28 Alex Christensen <[email protected]>
+
+ Fix build with SDKs containing new CFNetwork SPI declaration
+ https://bugs.webkit.org/show_bug.cgi?id=228553
+ <rdar://81202574>
+
+ Reviewed by Brady Eidson.
+
+ CFNSURLConnection.h also has "@interface NSURLSessionConfiguration ()"
+ ObjC doesn't like it if you have the exact same thing in the parentheses and a duplicate declaration.
+ I reproduced the build failure with a modified SDK and verified this fixes it.
+
+ * pal/spi/cf/CFNetworkSPI.h:
+
2021-07-26 Wenson Hsieh <[email protected]>
[macOS Monterey] Pressing Fn+E should present the emoji picker when editing
Modified: trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h (280383 => 280384)
--- trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h 2021-07-28 15:33:56 UTC (rev 280383)
+++ trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h 2021-07-28 15:55:25 UTC (rev 280384)
@@ -488,7 +488,7 @@
- (void)_setMIMEType:(NSString *)type;
@end
-@interface NSURLSessionConfiguration ()
+@interface NSURLSessionConfiguration (SPI)
// FIXME: Remove this once rdar://problem/40650244 is in a build.
@property (copy) NSDictionary *_socketStreamProperties;
// FIXME: Remove this once rdar://80550123 is in a build.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes