[webkit-changes] [WebKit/WebKit] 4efa5e: Implement ArgumentCoder for SharedMemoryHandle

Don Olmstead noreply at github.com
Sun May 7 15:02:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4efa5e604a3679ed00add70c7451c7dfb50b0a59
      https://github.com/WebKit/WebKit/commit/4efa5e604a3679ed00add70c7451c7dfb50b0a59
  Author: Don Olmstead <don.olmstead at sony.com>
  Date:   2023-05-07 (Sun, 07 May 2023)

  Changed paths:
    M Source/WebKit/Platform/SharedMemory.cpp
    M Source/WebKit/Platform/SharedMemory.h
    M Source/WebKit/Platform/cocoa/SharedMemoryCocoa.cpp
    M Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
    M Source/WebKit/Platform/win/SharedMemoryWin.cpp
    M Source/WebKit/Shared/ShareableBitmap.serialization.in
    M Source/WebKit/Shared/WebHitTestResultData.serialization.in

  Log Message:
  -----------
  Implement ArgumentCoder for SharedMemoryHandle
https://bugs.webkit.org/show_bug.cgi?id=256402

Reviewed by Darin Adler.

Move serialization of `SharedMemoryHandle` to use an `ArgumentCoder`.
This patch prepares `SharedMemoryHandle` for being generated through
a `serialization.in` file. The generator cannot currently handle move
semantics so it was not able to be used yet.

* Source/WebKit/Platform/SharedMemory.cpp:
* Source/WebKit/Platform/SharedMemory.h:
* Source/WebKit/Platform/cocoa/SharedMemoryCocoa.cpp:
* Source/WebKit/Platform/unix/SharedMemoryUnix.cpp:
* Source/WebKit/Platform/win/SharedMemoryWin.cpp:
* Source/WebKit/Shared/ShareableBitmap.serialization.in:
* Source/WebKit/Shared/WebHitTestResultData.serialization.in:

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




More information about the webkit-changes mailing list