Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bb6906e63249af8bc451169b64279e678ca8e5cc
https://github.com/WebKit/WebKit/commit/bb6906e63249af8bc451169b64279e678ca8e5cc
Author: Anne van Kesteren <[email protected]>
Date: 2025-04-15 (Tue, 15 Apr 2025)
Changed paths:
M Source/WebCore/Modules/applepay/ApplePaySetup.cpp
M Source/WebCore/Modules/applepay/ApplePaySetupWebCore.h
M Source/WebCore/Modules/applepay/PaymentCoordinator.cpp
M
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
Log Message:
-----------
Reduce unsafe lambdas in WebCore/Modules/applepay
https://bugs.webkit.org/show_bug.cgi?id=291490
Reviewed by Abrar Rahman Protyasha.
As per Safer CPP Guidelines:
-
https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines#capture-protectedthis-or-weakthis-in-asynchronous-lambdas-where-you-need-to-use-this
* Source/WebCore/Modules/applepay/ApplePaySetup.cpp:
(WebCore::ApplePaySetup::begin):
(WebCore::ApplePaySetup::stop):
* Source/WebCore/Modules/applepay/ApplePaySetupWebCore.h:
* Source/WebCore/Modules/applepay/PaymentCoordinator.cpp:
(WebCore::PaymentCoordinator::canMakePaymentsWithActiveCard):
(WebCore::PaymentCoordinator::getSetupFeatures):
(WebCore::PaymentCoordinator::beginApplePaySetup):
*
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations:
Canonical link: https://commits.webkit.org/293716@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