Title: [222004] trunk/Source/WebKit
- Revision
- 222004
- Author
- aes...@apple.com
- Date
- 2017-09-13 18:44:37 -0700 (Wed, 13 Sep 2017)
Log Message
[Apple Pay] Consider phoneticName when encoding ContactFields
https://bugs.webkit.org/show_bug.cgi?id=176885
<rdar://problem/34176419>
Reviewed by Tim Horton.
* Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:
(IPC::ArgumentCoder<ApplePaySessionPaymentRequest::ContactFields>::encode):
(IPC::ArgumentCoder<ApplePaySessionPaymentRequest::ContactFields>::decode):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (222003 => 222004)
--- trunk/Source/WebKit/ChangeLog 2017-09-14 00:32:04 UTC (rev 222003)
+++ trunk/Source/WebKit/ChangeLog 2017-09-14 01:44:37 UTC (rev 222004)
@@ -1,3 +1,15 @@
+2017-09-13 Andy Estes <aes...@apple.com>
+
+ [Apple Pay] Consider phoneticName when encoding ContactFields
+ https://bugs.webkit.org/show_bug.cgi?id=176885
+ <rdar://problem/34176419>
+
+ Reviewed by Tim Horton.
+
+ * Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:
+ (IPC::ArgumentCoder<ApplePaySessionPaymentRequest::ContactFields>::encode):
+ (IPC::ArgumentCoder<ApplePaySessionPaymentRequest::ContactFields>::decode):
+
2017-09-13 Matt Lewis <jlew...@apple.com>
Unreviewed, rolling out r221976.
Modified: trunk/Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm (222003 => 222004)
--- trunk/Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm 2017-09-14 00:32:04 UTC (rev 222003)
+++ trunk/Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm 2017-09-14 01:44:37 UTC (rev 222004)
@@ -332,6 +332,7 @@
encoder << contactFields.phone;
encoder << contactFields.email;
encoder << contactFields.name;
+ encoder << contactFields.phoneticName;
}
bool ArgumentCoder<ApplePaySessionPaymentRequest::ContactFields>::decode(Decoder& decoder, ApplePaySessionPaymentRequest::ContactFields& contactFields)
@@ -344,6 +345,8 @@
return false;
if (!decoder.decode(contactFields.name))
return false;
+ if (!decoder.decode(contactFields.phoneticName))
+ return false;
return true;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes