Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bb49ddb5a77796354d59351ad2976e493882ab0a
      
https://github.com/WebKit/WebKit/commit/bb49ddb5a77796354d59351ad2976e493882ab0a
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.cpp
    M Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h
    M Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in
    M Source/WebKit/Shared/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm
    M Source/WebKit/Shared/ApplePay/mac/WebPaymentCoordinatorProxyMac.mm
    M Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.cpp

  Log Message:
  -----------
  WebPaymentCoordinatorProxy::ShowPaymentUI requires unnecessary URL to String 
conversions
https://bugs.webkit.org/show_bug.cgi?id=294403
rdar://153224457

Reviewed by Wenson Hsieh.

Currently, we are doing a two step URL-to-String-to-URL transformation
to accomodate the String-based IPC message arguments for ShowPaymentUI.
This is unnecessary because we know how to IPC URL data, and as such
this patch removes the transformation overhead.

No functional change, so no tests added.

* Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.cpp:
(WebKit::WebPaymentCoordinatorProxy::showPaymentUI):
* Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h:
* Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.messages.in:
* Source/WebKit/Shared/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm:
(WebKit::WebPaymentCoordinatorProxy::platformShowPaymentUI):
* Source/WebKit/Shared/ApplePay/mac/WebPaymentCoordinatorProxyMac.mm:
(WebKit::WebPaymentCoordinatorProxy::platformShowPaymentUI):
* Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.cpp:
(WebKit::WebPaymentCoordinator::showPaymentUI):

Canonical link: https://commits.webkit.org/296167@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to