Title: [265031] trunk/Source/WebCore
Revision
265031
Author
[email protected]
Date
2020-07-28 23:47:45 -0700 (Tue, 28 Jul 2020)

Log Message

[WinCairo] REGRESSION(r264986) Unreviewed crash fix
https://bugs.webkit.org/show_bug.cgi?id=201507

* platform/graphics/egl/GLContextEGL.cpp:
(WebCore::GLContextEGL::createWindowContext): Initialize a variable 'surface' as EGL_NO_SURFACE for WinCairo.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (265030 => 265031)


--- trunk/Source/WebCore/ChangeLog	2020-07-29 06:18:50 UTC (rev 265030)
+++ trunk/Source/WebCore/ChangeLog	2020-07-29 06:47:45 UTC (rev 265031)
@@ -1,3 +1,11 @@
+2020-07-28  Fujii Hironori  <[email protected]>
+
+        [WinCairo] REGRESSION(r264986) Unreviewed crash fix
+        https://bugs.webkit.org/show_bug.cgi?id=201507
+
+        * platform/graphics/egl/GLContextEGL.cpp:
+        (WebCore::GLContextEGL::createWindowContext): Initialize a variable 'surface' as EGL_NO_SURFACE for WinCairo.
+
 2020-07-28  Chris Dumez  <[email protected]>
 
         Move non standard OscillatorNode API to new webKitOscillatorNode interface

Modified: trunk/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp (265030 => 265031)


--- trunk/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp	2020-07-29 06:18:50 UTC (rev 265030)
+++ trunk/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp	2020-07-29 06:47:45 UTC (rev 265031)
@@ -181,7 +181,7 @@
         return nullptr;
     }
 
-    EGLSurface surface;
+    EGLSurface surface = EGL_NO_SURFACE;
     switch (platformDisplay.type()) {
 #if PLATFORM(X11)
     case PlatformDisplay::Type::X11:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to