Title: [293441] trunk/Source/WebCore
- Revision
- 293441
- Author
- [email protected]
- Date
- 2022-04-26 11:51:26 -0700 (Tue, 26 Apr 2022)
Log Message
[GTK] Initialize m_eglDisplay in PlatformDisplay::PlatformDisplay(GdkDisplay*)
https://bugs.webkit.org/show_bug.cgi?id=239760
Patch by Xi Ruoyao <[email protected]> on 2022-04-26
Reviewed by Michael Catanzaro.
No new tests because there is no behavior change.
* platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::PlatformDisplay):
initialize m_eglDisplay to EGL_NO_DISPLAY.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (293440 => 293441)
--- trunk/Source/WebCore/ChangeLog 2022-04-26 18:35:28 UTC (rev 293440)
+++ trunk/Source/WebCore/ChangeLog 2022-04-26 18:51:26 UTC (rev 293441)
@@ -1,3 +1,16 @@
+2022-04-26 Xi Ruoyao <[email protected]>
+
+ [GTK] Initialize m_eglDisplay in PlatformDisplay::PlatformDisplay(GdkDisplay*)
+ https://bugs.webkit.org/show_bug.cgi?id=239760
+
+ Reviewed by Michael Catanzaro.
+
+ No new tests because there is no behavior change.
+
+ * platform/graphics/PlatformDisplay.cpp:
+ (WebCore::PlatformDisplay::PlatformDisplay):
+ initialize m_eglDisplay to EGL_NO_DISPLAY.
+
2022-04-26 J Pascoe <[email protected]>
[WebAuthn] Remove misspelled constant "LocalAuthenticatiorAccessGroup"
Modified: trunk/Source/WebCore/platform/graphics/PlatformDisplay.cpp (293440 => 293441)
--- trunk/Source/WebCore/platform/graphics/PlatformDisplay.cpp 2022-04-26 18:35:28 UTC (rev 293440)
+++ trunk/Source/WebCore/platform/graphics/PlatformDisplay.cpp 2022-04-26 18:51:26 UTC (rev 293441)
@@ -173,6 +173,9 @@
#if PLATFORM(GTK)
PlatformDisplay::PlatformDisplay(GdkDisplay* display)
: m_sharedDisplay(display)
+#if USE(EGL)
+ , m_eglDisplay(EGL_NO_DISPLAY)
+#endif
{
#if USE(ATSPI) && USE(GTK4)
if (const char* atspiBusAddress = static_cast<const char*>(g_object_get_data(G_OBJECT(display), "-gtk-atspi-bus-address")))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes