Changeset 238615 in webkit


Ignore:
Timestamp:
Nov 28, 2018, 9:28:13 AM (6 years ago)
Author:
ap@apple.com
Message:

Remove another OS version check from NetworkDataTaskCocoa.mm
https://bugs.webkit.org/show_bug.cgi?id=192046

Reviewed by Alex Christensen.

Source/WebKit:

  • NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:

(WebKit::NetworkDataTaskCocoa::statelessCookieStorage):

Source/WTF:

  • wtf/Platform.h:
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r238614 r238615  
     12018-11-28  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Remove another OS version check from NetworkDataTaskCocoa.mm
     4        https://bugs.webkit.org/show_bug.cgi?id=192046
     5
     6        Reviewed by Alex Christensen.
     7
     8        * wtf/Platform.h:
     9
    1102018-11-28  Alexey Proskuryakov  <ap@apple.com>
    211
  • trunk/Source/WTF/wtf/Platform.h

    r238614 r238615  
    13861386#define HAVE_FOUNDATION_WITH_SAME_SITE_COOKIE_SUPPORT 1
    13871387#endif
     1388
     1389#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101400
     1390#define HAVE_NSHTTPCOOKIESTORAGE__INITWITHIDENTIFIER_WITH_INACCURATE_NULLABILITY 1
     1391#endif
  • trunk/Source/WebKit/ChangeLog

    r238614 r238615  
     12018-11-28  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Remove another OS version check from NetworkDataTaskCocoa.mm
     4        https://bugs.webkit.org/show_bug.cgi?id=192046
     5
     6        Reviewed by Alex Christensen.
     7
     8        * NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
     9        (WebKit::NetworkDataTaskCocoa::statelessCookieStorage):
     10
    1112018-11-28  Alexey Proskuryakov  <ap@apple.com>
    212
  • trunk/Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm

    r238614 r238615  
    118118    static NeverDestroyed<RetainPtr<NSHTTPCookieStorage>> statelessCookieStorage;
    119119    if (!statelessCookieStorage.get()) {
    120 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101300)
     120#if HAVE(NSHTTPCOOKIESTORAGE__INITWITHIDENTIFIER_WITH_INACCURATE_NULLABILITY)
    121121        IGNORE_NULL_CHECK_WARNINGS_BEGIN
    122122#endif
    123123        statelessCookieStorage.get() = adoptNS([[NSHTTPCookieStorage alloc] _initWithIdentifier:nil private:YES]);
    124 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101300)
     124#if HAVE(NSHTTPCOOKIESTORAGE__INITWITHIDENTIFIER_WITH_INACCURATE_NULLABILITY)
    125125        IGNORE_NULL_CHECK_WARNINGS_END
    126126#endif
Note: See TracChangeset for help on using the changeset viewer.