Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a98138e00f6081207550bd007e29a4c7bc1bd25
      
https://github.com/WebKit/WebKit/commit/1a98138e00f6081207550bd007e29a4c7bc1bd25
  Author: Claudio Saavedra <[email protected]>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M Source/WebKit/Shared/glib/UserMessage.cpp
    M Source/WebKit/Shared/glib/UserMessage.h
    M Source/WebKit/Shared/glib/UserMessage.serialization.in

  Log Message:
  -----------
  [GLIB] Generate the serialization of UserMessage
https://bugs.webkit.org/show_bug.cgi?id=272985

Reviewed by Michael Catanzaro.

Add a couple of helper data structures for each of the
different types of messages, and use a variant for
serialization, to avoid replicating by hand what the
generated code will do for a variant type.

* Source/WebKit/Shared/glib/UserMessage.cpp:
(WebKit::UserMessage::toIPCData const):
(WebKit::UserMessage::fromIPCData):
(WebKit::UserMessage::encode const): Deleted.
(WebKit::UserMessage::decode): Deleted.
* Source/WebKit/Shared/glib/UserMessage.h:
(WebKit::UserMessage::UserMessage):
* Source/WebKit/Shared/glib/UserMessage.serialization.in:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to