-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UI-side compositing] NSScrollerImps are still created in the web pro…
…cess (triggering CATransactions) https://bugs.webkit.org/show_bug.cgi?id=258369 rdar://109689491 Reviewed by Simon Fraser. With UI-side compositing, NSScrollerImps are now kept in the UI-process for all scrollbars except for RenderListBox scrollbars. To prevent the unnecessary creation of NSScrollerImps in the web process in ScrollbarThemeMac::registerScrollbar, check if the scrollbar is one of a RenderListBox and if we have a RemoteScrollbarsController. * Source/WebCore/platform/ScrollableArea.cpp: (WebCore::ScrollableArea::shouldRegisterScrollbars const): * Source/WebCore/platform/ScrollableArea.h: * Source/WebCore/platform/Scrollbar.cpp: (WebCore::Scrollbar::shouldRegisterScrollbar const): * Source/WebCore/platform/Scrollbar.h: * Source/WebCore/platform/ScrollbarsController.h: (WebCore::ScrollbarsController::shouldRegisterScrollbars const): * Source/WebCore/platform/mac/ScrollbarThemeMac.mm: (WebCore::ScrollbarThemeMac::registerScrollbar): * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollbarsController.h: Canonical link: https://commits.webkit.org/265731@main
- Loading branch information
Showing
5 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters