Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f37beb01c024669cd3ea581afd13d0e77a03a215
      
https://github.com/WebKit/WebKit/commit/f37beb01c024669cd3ea581afd13d0e77a03a215
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-08-19 (Wed, 19 Aug 2026)

  Changed paths:
    M Source/WebKit/Scripts/generate-serializers.py
    M Source/WebKit/Shared/gtk/ArgumentCodersGtk.serialization.in
    M Source/WebKit/Shared/gtk/CoreIPCGtkPrint.cpp
    M Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.cpp

  Log Message:
  -----------
  [GLIB] Use GRefPtrWrapped for printing serializers and remove the GRefPtr 
forward-declaration special-case
https://bugs.webkit.org/show_bug.cgi?id=322107

Reviewed by Patrick Griffis.

Now that 319460@main added the GRefPtrWrapped attribute, use it for the
GTK printing classes and drop the temporary GRefPtr special-case that
319454@main added to generate_forward_declarations.

Unlike the previous Wrapper coder, GRefPtrWrapped serializes a null
GRefPtr as null instead of substituting a default, so default the print
settings and page setup in WebPrintOperationGtk, which requires them.

* Source/WebKit/Scripts/generate-serializers.py:
(generate_forward_declarations):
* Source/WebKit/Shared/gtk/ArgumentCodersGtk.serialization.in:
* Source/WebKit/Shared/gtk/CoreIPCGtkPrint.cpp:
(WebKit::CoreIPCGtkPrintSettings::CoreIPCGtkPrintSettings):
(WebKit::CoreIPCGtkPageSetup::CoreIPCGtkPageSetup):
* Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.cpp:
(WebKit::WebPrintOperationGtk::WebPrintOperationGtk):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to