[webkit-changes] [WebKit/WebKit] 9789cd: REGRESSION(256571 at main): DrawingAreaCoordinatedGra...
Žan Doberšek
noreply at github.com
Fri Feb 17 10:36:11 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9789cdecc95b14778b18fb219305c0d8fd74a1ec
https://github.com/WebKit/WebKit/commit/9789cdecc95b14778b18fb219305c0d8fd74a1ec
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/260454@main
More information about the webkit-changes
mailing list