Title: [215578] trunk/Source/WebKit2
Revision
215578
Author
ander...@apple.com
Date
2017-04-20 14:30:35 -0700 (Thu, 20 Apr 2017)

Log Message

Fix build.

* UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentSession):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (215577 => 215578)


--- trunk/Source/WebKit2/ChangeLog	2017-04-20 20:53:03 UTC (rev 215577)
+++ trunk/Source/WebKit2/ChangeLog	2017-04-20 21:30:35 UTC (rev 215578)
@@ -1,3 +1,10 @@
+2017-04-20  Anders Carlsson  <ander...@apple.com>
+
+        Fix build.
+
+        * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
+        (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentSession):
+
 2017-04-20  Brady Eidson  <beid...@apple.com>
 
         Add CompletionHandlerCallChecker to SPI added in r215545.

Modified: trunk/Source/WebKit2/UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm (215577 => 215578)


--- trunk/Source/WebKit2/UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm	2017-04-20 20:53:03 UTC (rev 215577)
+++ trunk/Source/WebKit2/UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm	2017-04-20 21:30:35 UTC (rev 215578)
@@ -682,7 +682,7 @@
     ASSERT(m_paymentAuthorizationViewControllerDelegate);
 
     auto status = result ? result->status : WebCore::PaymentAuthorizationStatus::Success;
-    m_paymentAuthorizationViewControllerDelegate->_didReachFinalState = WebCore::isFinalStateStatus(status);
+    m_paymentAuthorizationViewControllerDelegate->_didReachFinalState = WebCore::isFinalStateResult(result);
 
 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)
     auto pkPaymentAuthorizationResult = adoptNS([allocPKPaymentAuthorizationResultInstance() initWithStatus:toPKPaymentAuthorizationStatus(status) errors:result ? toNSErrors(result->errors).get() : @[ ]]);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to