Title: [259380] trunk/Source/WebKit
Revision
259380
Author
carlo...@webkit.org
Date
2020-04-02 01:45:33 -0700 (Thu, 02 Apr 2020)

Log Message

[GTK] [2.28.0] The Yelp build crashes if DISPLAY is not set
https://bugs.webkit.org/show_bug.cgi?id=209431

Reviewed by Carlos Alberto Lopez Perez.

Remove the assert when display is not X11 nor Wayland, and simply return false to ensure acceleration is not used.

* UIProcess/gtk/AcceleratedBackingStore.cpp:
(WebKit::AcceleratedBackingStore::checkRequirements):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (259379 => 259380)


--- trunk/Source/WebKit/ChangeLog	2020-04-02 07:43:14 UTC (rev 259379)
+++ trunk/Source/WebKit/ChangeLog	2020-04-02 08:45:33 UTC (rev 259380)
@@ -1,3 +1,15 @@
+2020-04-02  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        [GTK] [2.28.0] The Yelp build crashes if DISPLAY is not set
+        https://bugs.webkit.org/show_bug.cgi?id=209431
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        Remove the assert when display is not X11 nor Wayland, and simply return false to ensure acceleration is not used.
+
+        * UIProcess/gtk/AcceleratedBackingStore.cpp:
+        (WebKit::AcceleratedBackingStore::checkRequirements):
+
 2020-04-01  Per Arne Vollan  <pvol...@apple.com>
 
         [Cocoa] UTI from MIME type cache can be removed after r258915

Modified: trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp (259379 => 259380)


--- trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp	2020-04-02 07:43:14 UTC (rev 259379)
+++ trunk/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp	2020-04-02 08:45:33 UTC (rev 259380)
@@ -53,7 +53,6 @@
         return AcceleratedBackingStoreX11::checkRequirements();
 #endif
 
-    RELEASE_ASSERT_NOT_REACHED();
     return false;
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to