Title: [293911] releases/WebKitGTK/webkit-2.36/Source/WebCore
- Revision
- 293911
- Author
- [email protected]
- Date
- 2022-05-06 11:53:38 -0700 (Fri, 06 May 2022)
Log Message
Merge r293441 - [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: releases/WebKitGTK/webkit-2.36/Source/WebCore/ChangeLog (293910 => 293911)
--- releases/WebKitGTK/webkit-2.36/Source/WebCore/ChangeLog 2022-05-06 18:37:28 UTC (rev 293910)
+++ releases/WebKitGTK/webkit-2.36/Source/WebCore/ChangeLog 2022-05-06 18:53:38 UTC (rev 293911)
@@ -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-14 Martin Robinson <[email protected]>
[GTK] AddressSanitizer: heap-buffer-overflow in WebCore::Length::ref()
Modified: releases/WebKitGTK/webkit-2.36/Source/WebCore/platform/graphics/PlatformDisplay.cpp (293910 => 293911)
--- releases/WebKitGTK/webkit-2.36/Source/WebCore/platform/graphics/PlatformDisplay.cpp 2022-05-06 18:37:28 UTC (rev 293910)
+++ releases/WebKitGTK/webkit-2.36/Source/WebCore/platform/graphics/PlatformDisplay.cpp 2022-05-06 18:53:38 UTC (rev 293911)
@@ -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