Changeset 280384 in webkit


Ignore:
Timestamp:
Jul 28, 2021, 8:55:25 AM (4 years ago)
Author:
achristensen@apple.com
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:
Location:
trunk/Source/WebCore/PAL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/PAL/ChangeLog

    r280336 r280384  
     12021-07-28  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix build with SDKs containing new CFNetwork SPI declaration
     4        https://bugs.webkit.org/show_bug.cgi?id=228553
     5        <rdar://81202574>
     6
     7        Reviewed by Brady Eidson.
     8
     9        CFNSURLConnection.h also has "@interface NSURLSessionConfiguration ()"
     10        ObjC doesn't like it if you have the exact same thing in the parentheses and a duplicate declaration.
     11        I reproduced the build failure with a modified SDK and verified this fixes it.
     12
     13        * pal/spi/cf/CFNetworkSPI.h:
     14
    1152021-07-26  Wenson Hsieh  <wenson_hsieh@apple.com>
    216
  • trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h

    r280015 r280384  
    489489@end
    490490
    491 @interface NSURLSessionConfiguration ()
     491@interface NSURLSessionConfiguration (SPI)
    492492// FIXME: Remove this once rdar://problem/40650244 is in a build.
    493493@property (copy) NSDictionary *_socketStreamProperties;
Note: See TracChangeset for help on using the changeset viewer.