Title: [209823] trunk/Source/WebCore
Revision
209823
Author
wei...@apple.com
Date
2016-12-14 12:42:52 -0800 (Wed, 14 Dec 2016)

Log Message

Actually set the shipping contact when validating the payment request

Reviewed by Anders Carlsson.

* Modules/applepay/ApplePaySession.cpp:
(WebCore::convertAndValidate):
Fix typo.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209822 => 209823)


--- trunk/Source/WebCore/ChangeLog	2016-12-14 20:30:51 UTC (rev 209822)
+++ trunk/Source/WebCore/ChangeLog	2016-12-14 20:42:52 UTC (rev 209823)
@@ -1,3 +1,13 @@
+2016-12-14  Sam Weinig  <s...@webkit.org>
+
+        Actually set the shipping contact when validating the payment request
+
+        Reviewed by Anders Carlsson.
+
+        * Modules/applepay/ApplePaySession.cpp:
+        (WebCore::convertAndValidate):
+        Fix typo.
+
 2016-12-14  John Wilander  <wilan...@apple.com>
 
         Handle key generation with empty challenge string

Modified: trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp (209822 => 209823)


--- trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp	2016-12-14 20:30:51 UTC (rev 209822)
+++ trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp	2016-12-14 20:42:52 UTC (rev 209823)
@@ -345,7 +345,7 @@
         if (!shippingContact)
             return Exception { TypeError, WTFMove(errorMessage) };
 
-        result.setBillingContact(*shippingContact);
+        result.setShippingContact(*shippingContact);
     }
 
     result.setShippingType(paymentRequest.shippingType);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to