Title: [250310] trunk/Source/WebCore/PAL
Revision
250310
Author
[email protected]
Date
2019-09-24 11:42:52 -0700 (Tue, 24 Sep 2019)

Log Message

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

Reviewed by Jonathan Bedard.

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 Jonathan Bedard was involved. These changes are
isolated from other similar changes in order to facilitate the
reviewing process.

* pal/spi/cocoa/CoreTextSPI.h:
* pal/spi/cocoa/QuartzCoreSPI.h:
* pal/spi/ios/UIKitSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (250309 => 250310)


--- trunk/Source/WebCore/PAL/ChangeLog	2019-09-24 18:03:30 UTC (rev 250309)
+++ trunk/Source/WebCore/PAL/ChangeLog	2019-09-24 18:42:52 UTC (rev 250310)
@@ -1,5 +1,31 @@
 2019-09-24  Keith Rollin  <[email protected]>
 
+        Remove some support for < iOS 13
+        https://bugs.webkit.org/show_bug.cgi?id=201969
+        <rdar://problem/55505586>
+
+        Reviewed by Jonathan Bedard.
+
+        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 Jonathan Bedard was involved. These changes are
+        isolated from other similar changes in order to facilitate the
+        reviewing process.
+
+        * pal/spi/cocoa/CoreTextSPI.h:
+        * pal/spi/cocoa/QuartzCoreSPI.h:
+        * pal/spi/ios/UIKitSPI.h:
+
+2019-09-24  Keith Rollin  <[email protected]>
+
         Coalesce or remove PLATFORM(MAC) || PLATFORM(IOS_FAMILY)
         https://bugs.webkit.org/show_bug.cgi?id=202119
         <rdar://problem/55638792>

Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/CoreTextSPI.h (250309 => 250310)


--- trunk/Source/WebCore/PAL/pal/spi/cocoa/CoreTextSPI.h	2019-09-24 18:03:30 UTC (rev 250309)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/CoreTextSPI.h	2019-09-24 18:42:52 UTC (rev 250310)
@@ -71,12 +71,8 @@
     kCTCompositionLanguageTraditionalChinese,
 };
 
-#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED == 101400) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED == 120000)
-extern const CFStringRef kCTTypesetterOptionAllowUnboundedLayout;
 #endif
 
-#endif
-
 WTF_EXTERN_C_BEGIN
 
 typedef const UniChar* (*CTUniCharProviderCallback)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void* refCon);

Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h (250309 => 250310)


--- trunk/Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h	2019-09-24 18:03:30 UTC (rev 250309)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h	2019-09-24 18:42:52 UTC (rev 250310)
@@ -140,11 +140,7 @@
 
 @interface CATransaction ()
 + (void)addCommitHandler:(void(^)(void))block forPhase:(CATransactionPhase)phase;
-
-#if PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
 + (CATransactionPhase)currentPhase;
-#endif
-
 @end
 
 @interface CALayerHost : CALayer

Modified: trunk/Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h (250309 => 250310)


--- trunk/Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h	2019-09-24 18:03:30 UTC (rev 250309)
+++ trunk/Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h	2019-09-24 18:42:52 UTC (rev 250310)
@@ -139,11 +139,9 @@
 + (UIViewController *)viewControllerForView:(UIView *)view;
 @end
 
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
 @interface NSURL ()
 @property (nonatomic, copy, setter=_setTitle:) NSString *_title;
 @end
-#endif
 
 #endif // USE(APPLE_INTERNAL_SDK)
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to