Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e45afd87e47f85c70bd314c8a22de09f2c31e010
      
https://github.com/WebKit/WebKit/commit/e45afd87e47f85c70bd314c8a22de09f2c31e010
  Author: Don Olmstead <don.olmst...@sony.com>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M Source/WebKit/PlatformWin.cmake
    A Source/WebKit/WebProcess/WebPage/wc/WCBackingStore.cpp
    M Source/WebKit/WebProcess/WebPage/wc/WCBackingStore.h
    A Source/WebKit/WebProcess/WebPage/wc/WCBackingStore.serialization.in

  Log Message:
  -----------
  Generate serialization of WCBackingStore
https://bugs.webkit.org/show_bug.cgi?id=268502

Reviewed by Alex Christensen.

Modify `WCBackingStore` so its serialization can be generated. Pass an
`ImageBufferBackendHandle` through IPC. Add a constructor to create from
a handle, and a method to retrieve a handle from an instance. Adding
these allows the serialization framework to work on the class.

* Source/WebKit/PlatformWin.cmake:
* Source/WebKit/WebProcess/WebPage/wc/WCBackingStore.cpp: Copied from 
Source/WebKit/WebProcess/WebPage/wc/WCBackingStore.h.
(WebKit::WCBackingStore::WCBackingStore):
(WebKit::WCBackingStore::handle const):
* Source/WebKit/WebProcess/WebPage/wc/WCBackingStore.h:
(WebKit::WCBackingStore::encode const): Deleted.
(WebKit::WCBackingStore::decode): Deleted.
* Source/WebKit/WebProcess/WebPage/wc/WCBackingStore.serialization.in: Added.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to