Fix WebKitUserContentManager::script-message-received marshaller
authorMichael Catanzaro <mcatanzaro@redhat.com>
Tue, 21 Mar 2023 17:11:48 +0000 (17:11 +0000)
committerAlberto Garcia <berto@igalia.com>
Tue, 21 Mar 2023 17:11:48 +0000 (17:11 +0000)
Bug: https://bugs.webkit.org/show_bug.cgi?id=254089
Origin: https://github.com/WebKit/WebKit/commit/fa61ab3f24678c03f96ca6c4a51a8c7e21439f83

===================================================================

Gbp-Pq: Name fix-script-message-received-marshaller.patch

Source/WebKit/UIProcess/API/glib/WebKitUserContentManager.cpp

index af2d963bb3b36ead687b914d1ddc5fef11596399..f778b19bc816a956bcfd504d2d9124e9aec0fd42 100644 (file)
@@ -106,7 +106,11 @@ static void webkit_user_content_manager_class_init(WebKitUserContentManagerClass
             G_TYPE_FROM_CLASS(gObjectClass),
             static_cast<GSignalFlags>(G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED),
             0, nullptr, nullptr,
+#if ENABLE(2022_GLIB_API)
+            g_cclosure_marshal_VOID__OBJECT,
+#else
             g_cclosure_marshal_VOID__BOXED,
+#endif
             G_TYPE_NONE, 1,
 #if ENABLE(2022_GLIB_API)
             JSC_TYPE_VALUE);