Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 655b6c1d090a5812e07d991346dbf21a04142e4f
      
https://github.com/WebKit/WebKit/commit/655b6c1d090a5812e07d991346dbf21a04142e4f
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2025-04-26 (Sat, 26 Apr 2025)

  Changed paths:
    M Source/WebKit/Platform/IPC/HandleMessage.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h

  Log Message:
  -----------
  Begin using C++ coroutines for IPC messages without a reply
https://bugs.webkit.org/show_bug.cgi?id=292067
rdar://150042541

Reviewed by Richard Robinson.

IPC receivers without a reply don't have anything to "return" to the
sending process, so we only need to check for Awaitable<void> as a return
type.  This syntax makes it so we don't need to explicitly capture each
variable for each async step.

* Source/WebKit/Platform/IPC/HandleMessage.h:
(IPC::callMemberFunctionCoroutine):
(IPC::MethodSignatureValidation<R):
(IPC::handleMessage):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::convertRectToMainFrameCoordinates):
(WebKit::WebPageProxy::showCorrectionPanel):
* Source/WebKit/UIProcess/WebPageProxy.h:

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



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

Reply via email to