Title: [262072] trunk/Source/WebCore/Modules/applepay/PaymentInstallmentConfiguration.mm
Revision
262072
Author
[email protected]
Date
2020-05-22 13:52:28 -0700 (Fri, 22 May 2020)

Log Message

Attempt to fix the Catalina build after r262069.

Modified Paths

Diff

Modified: trunk/Source/WebCore/Modules/applepay/PaymentInstallmentConfiguration.mm (262071 => 262072)


--- trunk/Source/WebCore/Modules/applepay/PaymentInstallmentConfiguration.mm	2020-05-22 20:33:30 UTC (rev 262071)
+++ trunk/Source/WebCore/Modules/applepay/PaymentInstallmentConfiguration.mm	2020-05-22 20:52:28 UTC (rev 262072)
@@ -80,6 +80,8 @@
     }
 }
 
+#if HAVE(PASSKIT_INSTALLMENT_ITEMS)
+
 static ApplePayInstallmentItemType applePayItemType(PKInstallmentItemType itemType)
 {
     switch (itemType) {
@@ -168,6 +170,8 @@
     };
 }
 
+#endif // HAVE(PASSKIT_INSTALLMENT_ITEMS)
+
 static RetainPtr<PKPaymentInstallmentConfiguration> createPlatformConfiguration(const ApplePayInstallmentConfiguration& coreConfiguration, NSDictionary *applicationMetadata)
 {
     auto configuration = adoptNS([PAL::allocPKPaymentInstallmentConfigurationInstance() init]);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to