Title: [263927] trunk/Source/WebCore/PAL
Revision
263927
Author
[email protected]
Date
2020-07-03 21:56:45 -0700 (Fri, 03 Jul 2020)

Log Message

Fix a build error by forward declaring _NSHTTPAlternativeServicesStorage
https://bugs.webkit.org/show_bug.cgi?id=213911

Patch by Saagar Jha <[email protected]> on 2020-07-03
Reviewed by Darin Adler.

The public 10.16 SDK does not define _NSHTTPAlternativeServicesStorage, and the interface
declaration comes after it is used. Forward declare it to fix the error.

* pal/spi/cf/CFNetworkSPI.h: Forward declare _NSHTTPAlternativeServicesStorage.

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (263926 => 263927)


--- trunk/Source/WebCore/PAL/ChangeLog	2020-07-04 02:33:58 UTC (rev 263926)
+++ trunk/Source/WebCore/PAL/ChangeLog	2020-07-04 04:56:45 UTC (rev 263927)
@@ -1,3 +1,15 @@
+2020-07-03  Saagar Jha  <[email protected]>
+
+        Fix a build error by forward declaring _NSHTTPAlternativeServicesStorage
+        https://bugs.webkit.org/show_bug.cgi?id=213911
+
+        Reviewed by Darin Adler.
+
+        The public 10.16 SDK does not define _NSHTTPAlternativeServicesStorage, and the interface
+        declaration comes after it is used. Forward declare it to fix the error.
+
+        * pal/spi/cf/CFNetworkSPI.h: Forward declare _NSHTTPAlternativeServicesStorage.
+
 2020-07-03  Sam Weinig  <[email protected]>
 
         Remove support for ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE

Modified: trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h (263926 => 263927)


--- trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h	2020-07-04 02:33:58 UTC (rev 263926)
+++ trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h	2020-07-04 04:56:45 UTC (rev 263927)
@@ -213,6 +213,10 @@
 };
 #endif
 
+#if HAVE(CFNETWORK_ALTERNATIVE_SERVICE)
+@class _NSHTTPAlternativeServicesStorage;
+#endif
+
 @interface NSURLSessionConfiguration ()
 @property (assign) _TimingDataOptions _timingDataOptions;
 @property (copy) NSData *_sourceApplicationAuditTokenData;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to