Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 23b2083

Browse files
Follow-up #2: Override the session configuration for cookieAcceptPolicy
<https://bugs.webkit.org/show_bug.cgi?id=190925> <rdar://problem/45497382> * pal/spi/cf/CFNetworkSPI.h: Protect Objective-C code using defined(__OBJC__) macro. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@240430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 5b5cf9e commit 23b2083

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Source/WebCore/PAL/ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2019-01-24 David Kilzer <[email protected]>
2+
3+
Follow-up #2: Override the session configuration for cookieAcceptPolicy
4+
<https://bugs.webkit.org/show_bug.cgi?id=190925>
5+
<rdar://problem/45497382>
6+
7+
* pal/spi/cf/CFNetworkSPI.h: Protect Objective-C code using
8+
defined(__OBJC__) macro.
9+
110
2019-01-23 David Kilzer <[email protected]>
211

312
Switch remaining CoreMedia soft-linking in WebKit over to CoreMediaSoftLink.{cpp,h}

Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ WTF_EXTERN_C_END
6565
// This only needs to be declared on macOS 10.12 Sierra because
6666
// it will never appear in those SDK headers. See also
6767
// HAVE(CFNETWORK_OVERRIDE_SESSION_COOKIE_ACCEPT_POLICY).
68-
#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED == 101200
68+
#if defined(__OBJC__) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED == 101200
6969
@interface NSHTTPCookieStorage ()
7070
@property (nonatomic, readwrite) BOOL _overrideSessionCookieAcceptPolicy;
7171
@end

0 commit comments

Comments
 (0)