Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8e1ea677c685e98f34bb465ae503a3d8785d7317
https://github.com/WebKit/WebKit/commit/8e1ea677c685e98f34bb465ae503a3d8785d7317
Author: Chris Dumez <[email protected]>
Date: 2024-11-28 (Thu, 28 Nov 2024)
Changed paths:
M Source/WebCore/Modules/applepay/PaymentCoordinator.cpp
M Source/WebCore/Modules/applepay/PaymentCoordinator.h
M Source/WebCore/Modules/applepay/PaymentCoordinatorClient.h
M Source/WebCore/loader/EmptyClients.cpp
M Source/WebCore/page/PageConfiguration.cpp
M Source/WebCore/page/PageConfiguration.h
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/MockPaymentCoordinator.cpp
M Source/WebCore/testing/MockPaymentCoordinator.h
M Source/WebKit/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
M Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.cpp
M Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.h
M Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.messages.in
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKitLegacy/mac/WebCoreSupport/WebPaymentCoordinatorClient.h
M Source/WebKitLegacy/mac/WebCoreSupport/WebPaymentCoordinatorClient.mm
M Source/WebKitLegacy/mac/WebView/WebView.mm
Log Message:
-----------
Make WebPaymentCoordinator ref-counted as it is a MessageReceiver
https://bugs.webkit.org/show_bug.cgi?id=283777
Reviewed by Darin Adler.
* Source/WebCore/Modules/applepay/PaymentCoordinator.cpp:
(WebCore::PaymentCoordinator::create):
(WebCore::PaymentCoordinator::PaymentCoordinator):
* Source/WebCore/Modules/applepay/PaymentCoordinator.h:
* Source/WebCore/Modules/applepay/PaymentCoordinatorClient.h:
(WebCore::PaymentCoordinatorClient::setPaymentCoordinator): Deleted.
* Source/WebCore/loader/EmptyClients.cpp:
(WebCore::pageConfigurationWithEmptyClients):
* Source/WebCore/page/PageConfiguration.cpp:
(WebCore::PageConfiguration::PageConfiguration):
* Source/WebCore/page/PageConfiguration.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::Internals):
* Source/WebCore/testing/MockPaymentCoordinator.cpp:
(WebCore::MockPaymentCoordinator::create):
(WebCore::MockPaymentCoordinator::showPaymentUI):
(WebCore::MockPaymentCoordinator::completeMerchantValidation):
(WebCore::MockPaymentCoordinator::changeShippingOption):
(WebCore::MockPaymentCoordinator::changePaymentMethod):
(WebCore::MockPaymentCoordinator::changeCouponCode):
(WebCore::MockPaymentCoordinator::acceptPayment):
(WebCore::MockPaymentCoordinator::cancelPayment):
(WebCore::MockPaymentCoordinator::setPaymentCoordinator): Deleted.
(WebCore::MockPaymentCoordinator::ref const): Deleted.
(WebCore::MockPaymentCoordinator::deref const): Deleted.
* Source/WebCore/testing/MockPaymentCoordinator.h:
* Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.cpp:
(WebKit::WebPaymentCoordinator::create):
(WebKit::WebPaymentCoordinator::WebPaymentCoordinator):
(WebKit::WebPaymentCoordinator::showPaymentUI):
(WebKit::WebPaymentCoordinator::messageSenderDestinationID const):
(WebKit::WebPaymentCoordinator::paymentCoordinator):
(WebKit::WebPaymentCoordinator::getSetupFeatures):
(WebKit::WebPaymentCoordinator::beginApplePaySetup):
(WebKit::WebPaymentCoordinator::endApplePaySetup):
* Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.h:
* Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.messages.in:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::m_textAnimationController):
* Source/WebKitLegacy/mac/WebCoreSupport/WebPaymentCoordinatorClient.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebPaymentCoordinatorClient.mm:
(WebPaymentCoordinatorClient::create):
(WebPaymentCoordinatorClient::WebPaymentCoordinatorClient): Deleted.
(WebPaymentCoordinatorClient::~WebPaymentCoordinatorClient): Deleted.
* Source/WebKitLegacy/mac/WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):
(-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
Canonical link: https://commits.webkit.org/287153@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