[webkit-changes] [WebKit/WebKit] b59064: Cherry-pick 282613 at main (f4ec1a336d24). https://bu...

Carlos Garcia Campos noreply at github.com
Sun Aug 25 00:09:34 PDT 2024


  Branch: refs/heads/webkitglib/2.46
  Home:   https://github.com/WebKit/WebKit
  Commit: b59064e9bb7dffcb86ef87872f16f32d51caaf7d
      https://github.com/WebKit/WebKit/commit/b59064e9bb7dffcb86ef87872f16f32d51caaf7d
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp

  Log Message:
  -----------
  Cherry-pick 282613 at main (f4ec1a336d24). https://bugs.webkit.org/show_bug.cgi?id=278516

    REGRESSION(282012 at main): [GTK] WebKitWebProcess ASSERT in WebCore::PlatformDisplay::sharedDisplay
    https://bugs.webkit.org/show_bug.cgi?id=278516

    Reviewed by Miguel Gomez.

    Since 282012 at main the PlatformDisplay is not created unconditionally,
    for example when env var WEBKIT_DISABLE_DMABUF_RENDERER is set we don't
    create it. This patch adds PlatformDisplay::sharedDisplayIfExists() that
    is used in deinitializeGStreamer() to clear the platform display only
    whe it was created.

    * Source/WebCore/platform/graphics/PlatformDisplay.cpp:
    (WebCore::PlatformDisplay::sharedDisplayIfExists):
    * Source/WebCore/platform/graphics/PlatformDisplay.h:
    * Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
    (WebCore::deinitializeGStreamer):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list