Title: [176451] trunk/Source/WebCore
Revision
176451
Author
[email protected]
Date
2014-11-21 09:05:19 -0800 (Fri, 21 Nov 2014)

Log Message

Attempt to fix the internal Apple Mavericks build after <https://trac.webkit.org/changeset/176448>
(https://bugs.webkit.org/show_bug.cgi?id=138930)

Declare NSCachedURLResponse SPI when building without the Apple Internal SDK and with the Apple
Internal SDK when building for OS X Mavericks or earlier.

* platform/spi/cf/CFNetworkSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (176450 => 176451)


--- trunk/Source/WebCore/ChangeLog	2014-11-21 17:04:42 UTC (rev 176450)
+++ trunk/Source/WebCore/ChangeLog	2014-11-21 17:05:19 UTC (rev 176451)
@@ -1,3 +1,13 @@
+2014-11-21  Daniel Bates  <[email protected]>
+
+        Attempt to fix the internal Apple Mavericks build after <https://trac.webkit.org/changeset/176448>
+        (https://bugs.webkit.org/show_bug.cgi?id=138930)
+
+        Declare NSCachedURLResponse SPI when building without the Apple Internal SDK and with the Apple
+        Internal SDK when building for OS X Mavericks or earlier.
+
+        * platform/spi/cf/CFNetworkSPI.h:
+
 2014-11-21  Anders Carlsson  <[email protected]>
 
         Make memoryCache() return a reference

Modified: trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h (176450 => 176451)


--- trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h	2014-11-21 17:04:42 UTC (rev 176450)
+++ trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h	2014-11-21 17:05:19 UTC (rev 176451)
@@ -61,13 +61,6 @@
 typedef void (^CFCachedURLResponseCallBackBlock)(CFCachedURLResponseRef);
 #endif
 
-#ifdef __OBJC__
-@interface NSCachedURLResponse (Details)
--(id)_initWithCFCachedURLResponse:(CFCachedURLResponseRef)cachedResponse;
--(CFCachedURLResponseRef)_CFCachedURLResponse;
-@end
-#endif
-
 #endif // PLATFORM(WIN) || USE(APPLE_INTERNAL_SDK)
 
 EXTERN_C void CFURLRequestSetShouldStartSynchronously(CFURLRequestRef, Boolean);
@@ -107,6 +100,11 @@
 enum : NSUInteger {
     NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain = 3,
 };
+
+@interface NSCachedURLResponse (Details)
+-(id)_initWithCFCachedURLResponse:(CFCachedURLResponseRef)cachedResponse;
+-(CFCachedURLResponseRef)_CFCachedURLResponse;
+@end
 #endif
 
 #endif // CFNetworkSPI_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to