Title: [266726] trunk/Source/WebKit
Revision
266726
Author
[email protected]
Date
2020-09-08 08:25:06 -0700 (Tue, 08 Sep 2020)

Log Message

[GTK] AcceleratedBackingStoreWayland might erroneously try to use SHM with older wpebackend-fdo
https://bugs.webkit.org/show_bug.cgi?id=216254

Patch by Mike Gorse <[email protected]> on 2020-09-08
Reviewed by Adrian Perez de Castro.

* UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:
(WebKit::tryInitializeSHM): Return false for wpebackend-fdo < 1.7.0.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (266725 => 266726)


--- trunk/Source/WebKit/ChangeLog	2020-09-08 15:16:07 UTC (rev 266725)
+++ trunk/Source/WebKit/ChangeLog	2020-09-08 15:25:06 UTC (rev 266726)
@@ -1,3 +1,13 @@
+2020-09-08  Mike Gorse  <[email protected]>
+
+        [GTK] AcceleratedBackingStoreWayland might erroneously try to use SHM with older wpebackend-fdo
+        https://bugs.webkit.org/show_bug.cgi?id=216254
+
+        Reviewed by Adrian Perez de Castro.
+
+        * UIProcess/gtk/AcceleratedBackingStoreWayland.cpp:
+        (WebKit::tryInitializeSHM): Return false for wpebackend-fdo < 1.7.0.
+
 2020-09-08  Pablo Saavedra  <[email protected]>
 
         [GLIB] RemoteInspectorServer is not started if WebKitWebContext is not created already created

Modified: trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp (266725 => 266726)


--- trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp	2020-09-08 15:16:07 UTC (rev 266725)
+++ trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp	2020-09-08 15:25:06 UTC (rev 266726)
@@ -136,10 +136,12 @@
 #if WPE_FDO_CHECK_VERSION(1, 7, 0)
     if (!wpe_fdo_initialize_shm())
         return false;
-#endif
 
     s_waylandImpl = WaylandImpl::SHM;
     return true;
+#else
+    return false;
+#endif
 }
 #endif // USE(WPE_RENDERER)
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to