[webkit-changes] [WebKit/WebKit] 097a53: [WK2] Remove uses of SendSyncLegacyResult-based Me...

Žan Doberšek noreply at github.com
Mon Sep 26 23:28:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 097a53775b155c4ff45d51d931ea1652a654c827
      https://github.com/WebKit/WebKit/commit/097a53775b155c4ff45d51d931ea1652a654c827
  Author: Žan Doberšek <zan at falconsigh.net>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

  Changed paths:
    M Source/WebKit/Platform/IPC/MessageSender.h
    M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
    M Source/WebKit/UIProcess/mac/WebPageProxyMac.mm
    M Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.cpp
    M Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm
    M Source/WebKit/WebProcess/WebPage/WebBackForwardListProxy.cpp
    M Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm

  Log Message:
  -----------
  [WK2] Remove uses of SendSyncLegacyResult-based MessageSender::sendSync() overload
https://bugs.webkit.org/show_bug.cgi?id=245596

Reviewed by Kimmo Kinnunen.

Replace uses of the MessageSender::sendSync() method overload returning
SendSyncLegacyResult objects with the newer variant. The legacy methods
and type alias can then be removed.

* Source/WebKit/Platform/IPC/MessageSender.h:
(IPC::MessageSender::sendSync):
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::computePagesForPrintingiOS):
* Source/WebKit/UIProcess/mac/WebPageProxyMac.mm:
(WebKit::WebPageProxy::stringSelectionForPasteboard):
(WebKit::WebPageProxy::dataSelectionForPasteboard):
(WebKit::WebPageProxy::readSelectionFromPasteboard):
(WebKit::WebPageProxy::shouldDelayWindowOrderingForEvent):
* Source/WebKit/WebProcess/ApplePay/WebPaymentCoordinator.cpp:
(WebKit::WebPaymentCoordinator::canMakePayments):
(WebKit::WebPaymentCoordinator::showPaymentUI):
* Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:
(WebKit::PDFPlugin::handleContextMenuEvent):
* Source/WebKit/WebProcess/WebCoreSupport/WebSpeechSynthesisClient.cpp:
(WebKit::WebSpeechSynthesisClient::voiceList):
* Source/WebKit/WebProcess/WebCoreSupport/mac/WebAlternativeTextClient.cpp:
(WebKit::WebAlternativeTextClient::dismissAlternativeSoon):
(WebKit::WebAlternativeTextClient::dictationAlternatives):
* Source/WebKit/WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
(WebKit::WebEditorClient::substitutionsPanelIsShowing):
* Source/WebKit/WebProcess/WebPage/WebBackForwardListProxy.cpp:
(WebKit::WebBackForwardListProxy::containsItem const):
* Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::webGLPolicyForURL):
(WebKit::WebPage::resolveWebGLPolicyForURL):

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




More information about the webkit-changes mailing list