Title: [264179] trunk/Source/WebKit
- Revision
- 264179
- Author
- [email protected]
- Date
- 2020-07-09 10:17:32 -0700 (Thu, 09 Jul 2020)
Log Message
[GTK] Buildfix when WPEBackend-fdo is not available
Using the && operator for WPE_FDO_CHECK_VERSION was giving the
"missing binary operator before(" error as the macro was not defined
when the backend is not installed, like in the LTS/Debian vanilla
bots.
Unreviewed build fix.
* UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:
(WebKit::AcceleratedBackingStoreWayland::snapshot):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (264178 => 264179)
--- trunk/Source/WebKit/ChangeLog 2020-07-09 17:06:14 UTC (rev 264178)
+++ trunk/Source/WebKit/ChangeLog 2020-07-09 17:17:32 UTC (rev 264179)
@@ -1,3 +1,17 @@
+2020-07-09 Lauro Moura <[email protected]>
+
+ [GTK] Buildfix when WPEBackend-fdo is not available
+
+ Using the && operator for WPE_FDO_CHECK_VERSION was giving the
+ "missing binary operator before(" error as the macro was not defined
+ when the backend is not installed, like in the LTS/Debian vanilla
+ bots.
+
+ Unreviewed build fix.
+
+ * UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:
+ (WebKit::AcceleratedBackingStoreWayland::snapshot):
+
2020-07-09 Per Arne Vollan <[email protected]>
[Cocoa] Update Launch Services database in the WebContent process from the Network process
Modified: trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp (264178 => 264179)
--- trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp 2020-07-09 17:06:14 UTC (rev 264178)
+++ trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp 2020-07-09 17:17:32 UTC (rev 264179)
@@ -528,7 +528,8 @@
break;
}
case WaylandImpl::SHM:
-#if USE(WPE_RENDERER) && WPE_FDO_CHECK_VERSION(1, 7, 0)
+#if USE(WPE_RENDERER)
+#if WPE_FDO_CHECK_VERSION(1, 7, 0)
if (m_shm.pendingFrame) {
wpe_view_backend_exportable_fdo_dispatch_frame_complete(m_exportable);
m_shm.pendingFrame = false;
@@ -539,6 +540,9 @@
break;
#else
FALLTHROUGH;
+#endif // WPE_FDO_CHECK_VERSION
+#else
+ FALLTHROUGH;
#endif
case WaylandImpl::Unsupported:
RELEASE_ASSERT_NOT_REACHED();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes