[webkit-changes] [WebKit/WebKit] 747535: Cherry-pick 263299 at main (973843664d25). https://bu...

Adrian Perez noreply at github.com
Thu May 4 11:11:29 PDT 2023


  Branch: refs/heads/webkitglib/2.40
  Home:   https://github.com/WebKit/WebKit
  Commit: 747535c75f094261aac7467fc7ca128dec77fa9d
      https://github.com/WebKit/WebKit/commit/747535c75f094261aac7467fc7ca128dec77fa9d
  Author: Adrian Perez de Castro <aperez at igalia.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/egl/GLContextEGLX11.cpp

  Log Message:
  -----------
  Cherry-pick 263299 at main (973843664d25). https://bugs.webkit.org/show_bug.cgi?id=255846

    [GTK] Build failure due to EGLNativeWindowType cast when GTK only has Wayland support
    https://bugs.webkit.org/show_bug.cgi?id=255846

    Reviewed by Michael Catanzaro.

    EGLNativeWindowType can be aliased to a different type depending on the
    EGL implementation headers, and static_cast (or reinterpret_cast) may
    not always work. This is similar to 194561 at main, but with the conversion
    being done in the opposite direction, therefore we apply the same
    solution using a C style cast expression, which works in all cases.

    * Source/WebCore/platform/graphics/egl/GLContext.cpp:
    (WebCore::GLContext::createWindowContext): Use a plain C cast expression.

    Canonical link: https://commits.webkit.org/263299@main




More information about the webkit-changes mailing list