Title: [176371] trunk/Source/WebCore
Revision
176371
Author
[email protected]
Date
2014-11-19 17:23:38 -0800 (Wed, 19 Nov 2014)

Log Message

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

Define enumerator NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain when building without
the Apple Internal SDK or with the Apple Internal SDK on OS X Mavericks or earlier.

* platform/spi/cf/CFNetworkSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (176370 => 176371)


--- trunk/Source/WebCore/ChangeLog	2014-11-20 01:16:11 UTC (rev 176370)
+++ trunk/Source/WebCore/ChangeLog	2014-11-20 01:23:38 UTC (rev 176371)
@@ -1,3 +1,13 @@
+2014-11-19  Daniel Bates  <[email protected]>
+
+        Attempt to fix the Apple Internal Mavericks build after <https://trac.webkit.org/changeset/176347>
+        (https://bugs.webkit.org/show_bug.cgi?id=136863)
+
+        Define enumerator NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain when building without
+        the Apple Internal SDK or with the Apple Internal SDK on OS X Mavericks or earlier.
+
+        * platform/spi/cf/CFNetworkSPI.h:
+
 2014-11-16  Sam Weinig  <[email protected]>
 
         Move the 'quotes' CSS property to the new StyleBuilder

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


--- trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h	2014-11-20 01:16:11 UTC (rev 176370)
+++ trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h	2014-11-20 01:23:38 UTC (rev 176371)
@@ -61,12 +61,6 @@
 typedef void (^CFCachedURLResponseCallBackBlock)(CFCachedURLResponseRef);
 #endif
 
-#ifdef __OBJC__
-enum : NSUInteger {
-    NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain = 3,
-};
-#endif
-
 #endif // PLATFORM(WIN) || USE(APPLE_INTERNAL_SDK)
 
 EXTERN_C void CFURLRequestSetShouldStartSynchronously(CFURLRequestRef, Boolean);
@@ -102,4 +96,10 @@
 @end
 #endif
 
+#if defined(__OBJC__) && (!USE(APPLE_INTERNAL_SDK) || PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 1090)
+enum : NSUInteger {
+    NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain = 3,
+};
+#endif
+
 #endif // CFNetworkSPI_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to