-
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.
RenderLayer::recursiveUpdateLayerPositions() no longer needs a Render…
…GeometryMap https://bugs.webkit.org/show_bug.cgi?id=265821 rdar://119153457 Reviewed by Alan Baradlay. Now that we no longer call `outlineBoundsForRepaint()` in `RenderLayer::computeRepaintRects()` we don't need to pass a RenderGeometryMap around, which means that it's more efficient for `recursiveUpdateLayerPositions()` to just not create and maintain one (the pushing and popping is not free). This is a minor progression on some MotionMark subtests. * Source/WebCore/rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateLayerPositionsAfterStyleChange): (WebCore::RenderLayer::updateLayerPositionsAfterLayout): (WebCore::RenderLayer::recursiveUpdateLayerPositions): (WebCore::RenderLayer::computeRepaintRects): (WebCore::RenderLayer::updateLayerPositionsAfterOverflowScroll): (WebCore::RenderLayer::updateLayerPositionsAfterDocumentScroll): (WebCore::RenderLayer::recursiveUpdateLayerPositionsAfterScroll): * Source/WebCore/rendering/RenderLayer.h: (WebCore::RenderLayer::recursiveUpdateLayerPositionsAfterScroll): Canonical link: https://commits.webkit.org/271541@main
- Loading branch information
Showing
2 changed files
with
17 additions
and
47 deletions.
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