Title: [292761] trunk/Source/WebKit
Revision
292761
Author
dp...@igalia.com
Date
2022-04-11 22:47:27 -0700 (Mon, 11 Apr 2022)

Log Message

[GLIB] Unreviewed, build fix for Debian Stable after r292251
https://bugs.webkit.org/show_bug.cgi?id=239102


* UIProcess/gtk/WaylandCompositor.cpp:
(WebKit::WaylandCompositor::initializeEGL): Convert char* to String.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (292760 => 292761)


--- trunk/Source/WebKit/ChangeLog	2022-04-12 04:57:41 UTC (rev 292760)
+++ trunk/Source/WebKit/ChangeLog	2022-04-12 05:47:27 UTC (rev 292761)
@@ -1,3 +1,11 @@
+2022-04-11  Diego Pino Garcia  <dp...@igalia.com>
+
+        [GLIB] Unreviewed, build fix for Debian Stable after r292251
+        https://bugs.webkit.org/show_bug.cgi?id=239102
+
+        * UIProcess/gtk/WaylandCompositor.cpp:
+        (WebKit::WaylandCompositor::initializeEGL): Convert char* to String.
+
 2022-04-11  Wenson Hsieh  <wenson_hs...@apple.com>
 
         REGRESSION: Web content process crashes when triggering Live Text in recoveryOS

Modified: trunk/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp (292760 => 292761)


--- trunk/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp	2022-04-12 04:57:41 UTC (rev 292760)
+++ trunk/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp	2022-04-12 05:47:27 UTC (rev 292761)
@@ -432,7 +432,7 @@
 #else
     std::unique_ptr<ExtensionsGLOpenGL> glExtensions = makeUnique<ExtensionsGLOpenGL>(nullptr, GLContext::current()->version() >= 320);
 #endif
-    if (glExtensions->supports("GL_OES_EGL_image") || glExtensions->supports("GL_OES_EGL_image_external"))
+    if (glExtensions->supports("GL_OES_EGL_image"_s) || glExtensions->supports("GL_OES_EGL_image_external"_s))
         glImageTargetTexture2D = reinterpret_cast<PFNGLEGLIMAGETARGETTEXTURE2DOESPROC>(eglGetProcAddress("glEGLImageTargetTexture2DOES"));
 
     if (!glImageTargetTexture2D) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to