[webkit-changes] [WebKit/WebKit] 1e851f: Use C++ serializers for NSString and NSURL

Brady Eidson noreply at github.com
Fri Oct 20 15:28:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e851ff01daba9c70bbabe570f0772902c581f92
      https://github.com/WebKit/WebKit/commit/1e851ff01daba9c70bbabe570f0772902c581f92
  Author: Brady Eidson <beidson at apple.com>
  Date:   2023-10-20 (Fri, 20 Oct 2023)

  Changed paths:
    M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm

  Log Message:
  -----------
  Use C++ serializers for NSString and NSURL
https://bugs.webkit.org/show_bug.cgi?id=263389

Reviewed by Alex Christensen.

We auto generate our WTF::String and WTF::URL serializers.
So leverage them when encoding/decoding NSString or NSURL.

* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::encodeStringInternal):
(IPC::decodeStringInternal):
(IPC::encodeURLInternal):
(IPC::decodeURLInternal):

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




More information about the webkit-changes mailing list