[webkit-changes] [WebKit/WebKit] 5068d5: Cherry-pick 260434 at main (51a23edb6b39). https://bu...

Michael Catanzaro noreply at github.com
Sat Feb 18 13:27:16 PST 2023


  Branch: refs/heads/webkitglib/2.38
  Home:   https://github.com/WebKit/WebKit
  Commit: 5068d5998c4a022fc2be4870d1b588a84898c9c3
      https://github.com/WebKit/WebKit/commit/5068d5998c4a022fc2be4870d1b588a84898c9c3
  Author: Žan Doberšek <zdobersek at igalia.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h

  Log Message:
  -----------
  Cherry-pick 260434 at main (51a23edb6b39). https://bugs.webkit.org/show_bug.cgi?id=252462

    REGRESSION(256571 at main): DrawingAreaCoordinatedGraphics should handle registering scrolling trees
    https://bugs.webkit.org/show_bug.cgi?id=252462

    Reviewed by Carlos Garcia Campos.

    Override the registerScrollingTree and unregisterScrollingTree methods on the
    DrawingAreaCoordinatedGraphics, (un)registering the scrolling tree on the
    associated WebPage with the WebProcess-specific EventDispatcher instance. This
    enables EventDispatcher to dispatch wheel events directly against the correct
    ScrollingTree, instead of diverting them to the main thread when no such
    ScrollingTree is found.

    * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
    (WebKit::DrawingAreaCoordinatedGraphics::registerScrollingTree):
    (WebKit::DrawingAreaCoordinatedGraphics::unregisterScrollingTree):
    * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h:

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


  Commit: 7f3667e61782d6aa663f8826ea97a1430f9bc752
      https://github.com/WebKit/WebKit/commit/7f3667e61782d6aa663f8826ea97a1430f9bc752
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M Source/WebKit/Shared/API/glib/WebKitContextMenu.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitOptionMenu.cpp
    M Source/WebKit/UIProcess/gtk/WebContextMenuProxyGtk.cpp

  Log Message:
  -----------
  Cherry-pick 260374 at main (587cb602ebdd). https://bugs.webkit.org/show_bug.cgi?id=252264

    [GTK] Criticals from webkitOptionMenuSetEvent when opening any combo box
    https://bugs.webkit.org/show_bug.cgi?id=252264

    Reviewed by Adrian Perez de Castro.

    WebKitOptionMenu.cpp does not #include <WebCore/GRefPtrGtk.h> and
    therefore the template specialization for GdkEvent is missing, so the
    GRefPtr treats it as a GObject even though it is not. This is really
    dangerous and we need to find a better way to prevent it from happening,
    but for now, add missing #includes here and in a couple other places
    where it looks like they might be needed.

    * Source/WebKit/Shared/API/glib/WebKitContextMenu.cpp:
    * Source/WebKit/UIProcess/API/glib/WebKitOptionMenu.cpp:
    * Source/WebKit/UIProcess/gtk/WebContextMenuProxyGtk.cpp:

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


Compare: https://github.com/WebKit/WebKit/compare/7224fc38b1a6...7f3667e61782


More information about the webkit-changes mailing list