Title: [292460] trunk/Source/WebKit
- Revision
- 292460
- Author
- carlo...@webkit.org
- Date
- 2022-04-06 05:36:55 -0700 (Wed, 06 Apr 2022)
Log Message
Unreviewed. Fix GTK build after r292458
* UIProcess/API/gtk/PageClientImpl.cpp:
(WebKit::PageClientImpl::hostFileDescriptor):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (292459 => 292460)
--- trunk/Source/WebKit/ChangeLog 2022-04-06 11:17:25 UTC (rev 292459)
+++ trunk/Source/WebKit/ChangeLog 2022-04-06 12:36:55 UTC (rev 292460)
@@ -1,3 +1,10 @@
+2022-04-06 Carlos Garcia Campos <cgar...@igalia.com>
+
+ Unreviewed. Fix GTK build after r292458
+
+ * UIProcess/API/gtk/PageClientImpl.cpp:
+ (WebKit::PageClientImpl::hostFileDescriptor):
+
2022-04-06 Youenn Fablet <you...@apple.com>
Implement ServiceWorkerWindowClient.navigate
Modified: trunk/Source/WebKit/UIProcess/API/gtk/PageClientImpl.cpp (292459 => 292460)
--- trunk/Source/WebKit/UIProcess/API/gtk/PageClientImpl.cpp 2022-04-06 11:17:25 UTC (rev 292459)
+++ trunk/Source/WebKit/UIProcess/API/gtk/PageClientImpl.cpp 2022-04-06 12:36:55 UTC (rev 292460)
@@ -55,6 +55,7 @@
#include <wtf/Compiler.h>
#include <wtf/text/CString.h>
#include <wtf/text/WTFString.h>
+#include <wtf/unix/UnixFileDescriptor.h>
#if ENABLE(DATE_AND_TIME_INPUT_TYPES)
#include "WebDateTimePickerGtk.h"
@@ -592,7 +593,7 @@
#if USE(WPE_RENDERER)
IPC::Attachment PageClientImpl::hostFileDescriptor()
{
- return webkitWebViewBaseRenderHostFileDescriptor(WEBKIT_WEB_VIEW_BASE(m_viewWidget));
+ return IPC::Attachment({ webkitWebViewBaseRenderHostFileDescriptor(WEBKIT_WEB_VIEW_BASE(m_viewWidget)), UnixFileDescriptor::Adopt });
}
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes