Changeset 219016 in webkit


Ignore:
Timestamp:
Jun 30, 2017, 2:52:53 PM (8 years ago)
Author:
achristensen@apple.com
Message:

Stop soft linking with CFNetwork
https://bugs.webkit.org/show_bug.cgi?id=174029

Reviewed by Jer Noble.

Source/WebCore:

We link directly with CFNetwork. There's no reason to soft link,
and it is causing a problem with linking when doing interesting things with CFNetwork.

  • platform/spi/cf/CFNetworkSPI.h:

Source/WebKit2:

  • Shared/mac/CookieStorageShim.mm:
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r219013 r219016  
     12017-06-30  Alex Christensen  <achristensen@webkit.org>
     2
     3        Stop soft linking with CFNetwork
     4        https://bugs.webkit.org/show_bug.cgi?id=174029
     5
     6        Reviewed by Jer Noble.
     7
     8        We link directly with CFNetwork.  There's no reason to soft link,
     9        and it is causing a problem with linking when doing interesting things with CFNetwork.
     10
     11        * platform/spi/cf/CFNetworkSPI.h:
     12
    1132017-06-30  Daniel Bates  <dabates@apple.com>
    214
  • trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h

    r218517 r219016  
    221221SInt64 CFURLResponseGetExpectedContentLength(CFURLResponseRef);
    222222CFTypeID CFURLResponseGetTypeID();
     223Boolean CFURLRequestShouldHandleHTTPCookies(CFURLRequestRef);
     224CFURLRef CFURLRequestGetURL(CFURLRequestRef);
    223225CFURLResponseRef CFURLResponseCreate(CFAllocatorRef, CFURLRef, CFStringRef mimeType, SInt64 expectedContentLength, CFStringRef textEncodingName, CFURLCacheStoragePolicy);
    224226void CFURLResponseSetExpectedContentLength(CFURLResponseRef, SInt64 length);
  • trunk/Source/WebKit2/ChangeLog

    r219013 r219016  
     12017-06-30  Alex Christensen  <achristensen@webkit.org>
     2
     3        Stop soft linking with CFNetwork
     4        https://bugs.webkit.org/show_bug.cgi?id=174029
     5
     6        Reviewed by Jer Noble.
     7
     8        * Shared/mac/CookieStorageShim.mm:
     9
    1102017-06-30  Daniel Bates  <dabates@apple.com>
    211
  • trunk/Source/WebKit2/Shared/mac/CookieStorageShim.mm

    r203196 r219016  
    3232#include "WebCoreArgumentCoders.h"
    3333#include "WebProcess.h"
     34#include <WebCore/CFNetworkSPI.h>
    3435#include <WebCore/SessionID.h>
    3536#include <WebCore/SoftLinking.h>
     
    4344typedef const struct _CFURLRequest* CFURLRequestRef;
    4445@class NSURLSessionTask;
    45 
    46 SOFT_LINK_FRAMEWORK(CFNetwork)
    47 SOFT_LINK(CFNetwork, CFURLRequestGetURL, CFURLRef, (CFURLRequestRef request), (request))
    48 SOFT_LINK(CFNetwork, CFURLRequestShouldHandleHTTPCookies, Boolean, (CFURLRequestRef request), (request))
    4946
    5047using namespace WebCore;
Note: See TracChangeset for help on using the changeset viewer.