[webkit-changes] [WebKit/WebKit] 5b6e91: SecItemShimProxy should be a MessageReceiver

Kimmo Kinnunen noreply at github.com
Thu Sep 22 02:58:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5b6e91526e2b738ccaa527f9ad58229b66ee143f
      https://github.com/WebKit/WebKit/commit/5b6e91526e2b738ccaa527f9ad58229b66ee143f
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    M Source/WebKit/UIProcess/mac/SecItemShimProxy.cpp
    M Source/WebKit/UIProcess/mac/SecItemShimProxy.h
    M Source/WebKit/UIProcess/mac/SecItemShimProxy.messages.in

  Log Message:
  -----------
  SecItemShimProxy should be a MessageReceiver
https://bugs.webkit.org/show_bug.cgi?id=245067
rdar://problem/99815679

Reviewed by Antti Koivisto.

SecItemShimProxy is a singleton, so it should not be a ref counted.
Use regular IPC::MessageReceiver when registering a message receiver
for messages dispatched in the sec item work queue.

This is work towards simplifying IPC::Connection by not having
IPC::Connection::addWorkQueueMessageReceiver.

* Source/WebKit/UIProcess/mac/SecItemShimProxy.cpp:
(WebKit::SecItemShimProxy::singleton):
(WebKit::SecItemShimProxy::initializeConnection):
* Source/WebKit/UIProcess/mac/SecItemShimProxy.h:
* Source/WebKit/UIProcess/mac/SecItemShimProxy.messages.in:

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




More information about the webkit-changes mailing list