[webkit-changes] [WebKit/WebKit] f46ead: Deploy more smart pointers in Source/WebKit/Platfo...

Ryosuke Niwa noreply at github.com
Fri Aug 25 13:53:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f46ead2d46ea966ca9ef3677d2351c72354dbc14
      https://github.com/WebKit/WebKit/commit/f46ead2d46ea966ca9ef3677d2351c72354dbc14
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M Source/WebKit/Platform/IPC/Connection.h
    M Source/WebKit/Platform/IPC/MessageSender.cpp
    M Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm
    M Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.mm

  Log Message:
  -----------
  Deploy more smart pointers in Source/WebKit/Platform/IPC and Source/WebKit/Shared/API/Cocoa
https://bugs.webkit.org/show_bug.cgi?id=260701

Reviewed by Chris Dumez.

Deployed more smart pointers in these files.

* Source/WebKit/Platform/IPC/Connection.h:
(IPC::Connection::send):
* Source/WebKit/Platform/IPC/MessageSender.cpp:
(IPC::MessageSender::sendMessage):
(IPC::MessageSender::sendMessageWithAsyncReply):
* Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm:
(decodeObjectFromObjectStream):
(decodeString):
(decodeObject):
(-[WKRemoteObjectDecoder decodeBoolForKey:]):
(-[WKRemoteObjectDecoder decodeIntForKey:]):
(-[WKRemoteObjectDecoder decodeInt32ForKey:]):
(-[WKRemoteObjectDecoder decodeInt64ForKey:]):
(-[WKRemoteObjectDecoder decodeFloatForKey:]):
(-[WKRemoteObjectDecoder decodeDoubleForKey:]):
(-[WKRemoteObjectDecoder decodeBytesForKey:returnedLength:]):
(-[WKRemoteObjectDecoder decodeObjectOfClasses:forKey:]):
* Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.mm:
(-[_WKRemoteObjectRegistry _invokeMethod:]):
(-[_WKRemoteObjectRegistry _callReplyWithID:blockInvocation:]):

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




More information about the webkit-changes mailing list