-
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.
Make LayerRepaintRects internal to RenderLayer
https://bugs.webkit.org/show_bug.cgi?id=264530 rdar://118203951 Reviewed by Chris Dumez. There are two call sites that make use of RenderLayer's cached repaint rects, but they both use only the clippedOverflowRect, not the outlineBoundsRect, so we can hide RepaintRects inside of RenderLayer, and only expose the cachedClippedOverflowRect() to those two clients. * Source/WebCore/rendering/LegacyLineLayout.cpp: (WebCore::LegacyLineLayout::layoutRunsAndFloats): * Source/WebCore/rendering/RenderLayer.cpp: (WebCore::RenderLayer::cachedClippedOverflowRect const): (WebCore::RenderLayer::setRepaintRects): (WebCore::RenderLayer::shouldRepaintAfterLayout const): * Source/WebCore/rendering/RenderLayer.h: (WebCore::RenderLayer::repaintRects const): * Source/WebCore/rendering/RenderLayerModelObject.cpp: (WebCore::RenderLayerModelObject::styleDidChange): (WebCore::RenderLayerModelObject::cachedLayerClippedOverflowRect const): (WebCore::RenderLayerModelObject::layerRepaintRects const): Deleted. * Source/WebCore/rendering/RenderLayerModelObject.h: * Source/WebCore/rendering/RenderLayerScrollableArea.cpp: (WebCore::RenderLayerScrollableArea::scrollTo): Canonical link: https://commits.webkit.org/270550@main
- Loading branch information
Showing
6 changed files
with
35 additions
and
24 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
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