⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 251010 in webkit


Ignore:
Timestamp:
Oct 11, 2019, 9:29:23 AM (7 years ago)
Author:
Keith Rollin
Message:

Remove some support for < iOS 13
​https://bugs.webkit.org/show_bug.cgi?id=202819
<rdar://problem/56164233>

Reviewed by Anders Carlsson.

Remove some support for iOS versions less than 13.0.

Update conditionals that reference IPHONE_OS_VERSION_MIN_REQUIRED
and
IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
values >= 130000. This means that expressions like
"IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
"
IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.

This removal is part of a series of patches effecting the removal of
dead code for old versions of iOS. This particular pass involves
changes in which Jiewen Tan was involved. These changes are isolated
from other similar changes in order to facilitate the reviewing
process.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r251008 r251010  
     12019-10-11  Keith Rollin  <krollin@apple.com>
     2
     3        Remove some support for < iOS 13
     4        https://bugs.webkit.org/show_bug.cgi?id=202819
     5        <rdar://problem/56164233>
     6
     7        Reviewed by Anders Carlsson.
     8
     9        Remove some support for iOS versions less than 13.0.
     10
     11        Update conditionals that reference __IPHONE_OS_VERSION_MIN_REQUIRED
     12        and __IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
     13        values >= 130000. This means that expressions like
     14        "__IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
     15        "__IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.
     16
     17        This removal is part of a series of patches effecting the removal of
     18        dead code for old versions of iOS. This particular pass involves
     19        changes in which Jiewen Tan was involved. These changes are isolated
     20        from other similar changes in order to facilitate the reviewing
     21        process.
     22
     23        * wtf/Platform.h:
     24
    1252019-10-11  Jonathan Bedard  <jbedard@apple.com>
    226
  • trunk/Source/WTF/wtf/Platform.h

    r250953 r251010  
    16081608#endif
    16091609
    1610 #if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000 || PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500)
     1610#if (PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500))
    16111611#define HAVE_APP_SSO 1
    16121612#endif
    … …  
    16441644#endif
    16451645
    1646 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000)
     1646#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || PLATFORM(IOS_FAMILY)
    16471647#define HAVE_DATA_PROTECTION_KEYCHAIN 1
    16481648#endif
    16491649
    1650 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000)
     1650#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR))
    16511651#define HAVE_NEAR_FIELD 1
    16521652#endif
Note: See TracChangeset for help on using the changeset viewer.