[webkit-changes] [WebKit/WebKit] 51a23e: REGRESSION(256571 at main): DrawingAreaCoordinatedGra...
Žan Doberšek
noreply at github.com
Fri Feb 17 01:35:29 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 51a23edb6b399cf043f915c87a14c5e97eb36d51
https://github.com/WebKit/WebKit/commit/51a23edb6b399cf043f915c87a14c5e97eb36d51
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:
-----------
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
More information about the webkit-changes
mailing list