Title: [295463] trunk/Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp
- Revision
- 295463
- Author
- drou...@apple.com
- Date
- 2022-06-10 14:44:14 -0700 (Fri, 10 Jun 2022)
Log Message
Add PaymentHandler reference when validating the merchant
https://bugs.webkit.org/show_bug.cgi?id=241520
<rdar://problem/94609087>
Reviewed by Wenson Hsieh.
* Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp:
(WebCore::PaymentRequest::completeMerchantValidation):
Canonical link: https://commits.webkit.org/251469@main
Modified Paths
Diff
Modified: trunk/Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp (295462 => 295463)
--- trunk/Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp 2022-06-10 21:22:16 UTC (rev 295462)
+++ trunk/Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp 2022-06-10 21:44:14 UTC (rev 295463)
@@ -604,7 +604,8 @@
return;
}
- auto exception = activePaymentHandler()->merchantValidationCompleted(m_merchantSessionPromise->result());
+ Ref activePaymentHandler = *this->activePaymentHandler();
+ auto exception = activePaymentHandler->merchantValidationCompleted(m_merchantSessionPromise->result());
if (exception.hasException()) {
abortWithException(exception.releaseException());
return;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes