Skip to content
Permalink
Browse files
[GTK] Initialize m_eglDisplay in PlatformDisplay::PlatformDisplay(Gdk…
…Display*)

https://bugs.webkit.org/show_bug.cgi?id=239760

Patch by Xi Ruoyao <xry111@mengyan1223.wang> 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.

Canonical link: https://commits.webkit.org/249996@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@293441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
xry111 authored and webkit-commit-queue committed Apr 26, 2022
1 parent aab0a7b commit 36cd10b07a9eefeb903c8ac77ea5499b4d30b52e
Showing 2 changed files with 16 additions and 0 deletions.
@@ -1,3 +1,16 @@
2022-04-26 Xi Ruoyao <xry111@mengyan1223.wang>

[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 <j_pascoe@apple.com>

[WebAuthn] Remove misspelled constant "LocalAuthenticatiorAccessGroup"
@@ -173,6 +173,9 @@ PlatformDisplay::PlatformDisplay()
#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")))

0 comments on commit 36cd10b

Please sign in to comment.