Changeset 214179 in webkit
- Timestamp:
- Mar 20, 2017 11:30:19 AM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r214174 r214179 1 2017-03-20 Anders Carlsson <andersca@apple.com> 2 3 Fix a paste-o in WebPaymentCoordinatorProxy::platformCompletePaymentSession 4 https://bugs.webkit.org/show_bug.cgi?id=169881 5 rdar://problem/31030944 6 7 Reviewed by Dan Bernstein. 8 9 Don't always pass PKPaymentAuthorizationStatusFailure to the completion handler. 10 11 * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: 12 (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentSession): 13 1 14 2017-03-20 Wenson Hsieh <wenson_hsieh@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm
r213946 r214179 632 632 633 633 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000) 634 auto pkPaymentAuthorizationResult = adoptNS([allocPKPaymentAuthorizationResultInstance() initWithStatus: PKPaymentAuthorizationStatusFailureerrors:result ? toNSErrors(result->errors).get() : @[ ]]);634 auto pkPaymentAuthorizationResult = adoptNS([allocPKPaymentAuthorizationResultInstance() initWithStatus:toPKPaymentAuthorizationStatus(status) errors:result ? toNSErrors(result->errors).get() : @[ ]]); 635 635 m_paymentAuthorizationViewControllerDelegate->_paymentAuthorizedCompletion(pkPaymentAuthorizationResult.get()); 636 636 #else
Note: See TracChangeset
for help on using the changeset viewer.