Skip to content

Commit

Permalink
[Nicosia] Notify async scrolling tree that a platform rendering updat…
Browse files Browse the repository at this point in the history
…e has completed

https://bugs.webkit.org/show_bug.cgi?id=262606

Reviewed by Alejandro G. Castro.

Now that we implement didCompleteRenderingUpdateDisplay since
268770@main, we should notify the async scrolling tree.

* Source/WebCore/page/scrolling/nicosia/ScrollingCoordinatorNicosia.cpp:
(WebCore::ScrollingCoordinatorNicosia::didCompletePlatformRenderingUpdate):
* Source/WebCore/page/scrolling/nicosia/ScrollingCoordinatorNicosia.h:

Canonical link: https://commits.webkit.org/268843@main
  • Loading branch information
carlosgcampos committed Oct 4, 2023
1 parent af33ec3 commit e74fc9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ ScrollingCoordinatorNicosia::~ScrollingCoordinatorNicosia()
ASSERT(!scrollingTree());
}

void ScrollingCoordinatorNicosia::didCompletePlatformRenderingUpdate()
{
downcast<ThreadedScrollingTree>(scrollingTree())->didCompleteRenderingUpdate();
}

} // namespace WebCore

#endif // ENABLE(ASYNC_SCROLLING) && USE(NICOSIA)
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class ScrollingCoordinatorNicosia final : public ThreadedScrollingCoordinator {
public:
explicit ScrollingCoordinatorNicosia(Page*);
virtual ~ScrollingCoordinatorNicosia();

private:
void didCompletePlatformRenderingUpdate() final;
};

} // namespace WebCore
Expand Down

0 comments on commit e74fc9c

Please sign in to comment.