Title: [264506] trunk/Source/WebCore/PAL
Revision
264506
Author
[email protected]
Date
2020-07-17 07:09:02 -0700 (Fri, 17 Jul 2020)

Log Message

[iOS 14] Some PassKit SPI is now API
https://bugs.webkit.org/show_bug.cgi?id=214433
<rdar://problem/65695889>

Reviewed by Darin Adler.

* pal/spi/cocoa/PassKitSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (264505 => 264506)


--- trunk/Source/WebCore/PAL/ChangeLog	2020-07-17 12:39:27 UTC (rev 264505)
+++ trunk/Source/WebCore/PAL/ChangeLog	2020-07-17 14:09:02 UTC (rev 264506)
@@ -1,3 +1,13 @@
+2020-07-17  Jonathan Bedard  <[email protected]>
+
+        [iOS 14] Some PassKit SPI is now API
+        https://bugs.webkit.org/show_bug.cgi?id=214433
+        <rdar://problem/65695889>
+
+        Reviewed by Darin Adler.
+
+        * pal/spi/cocoa/PassKitSPI.h:
+
 2020-07-16  Eric Carlson  <[email protected]>
 
         Use AVRoutePickerView when available for choosing AirPlay devices

Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h (264505 => 264506)


--- trunk/Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h	2020-07-17 12:39:27 UTC (rev 264505)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h	2020-07-17 14:09:02 UTC (rev 264506)
@@ -327,10 +327,16 @@
 @property (nonatomic, strong) NSArray <PKPaymentSetupFeature *> *paymentSetupFeatures;
 @end
 
+#if PLATFORM(MAC) \
+    || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED < 140000) \
+    || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED < 70000)
+
 @interface PKPaymentMerchantSession : NSObject <NSSecureCoding, NSCopying>
 - (instancetype)initWithDictionary:(NSDictionary *)dictionary;
 @end
 
+#endif
+
 @interface PKPaymentAuthorizationViewController ()
 + (void)paymentServicesMerchantURL:(void(^)(NSURL *merchantURL, NSError *error))completion;
 + (void)paymentServicesMerchantURLForAPIType:(PKPaymentRequestAPIType)APIType completion:(void(^)(NSURL *merchantURL, NSError *error))completion;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to