[webkit-changes] [WebKit/WebKit] 83e529: [IFC][Partial layout] Compute repaint rect for par...
Alan Baradlay
noreply at github.com
Wed Mar 1 07:55:40 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 83e52933a2861f8f1d0acdc2365707e184974feb
https://github.com/WebKit/WebKit/commit/83e52933a2861f8f1d0acdc2365707e184974feb
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-03-01 (Wed, 01 Mar 2023)
Changed paths:
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
[IFC][Partial layout] Compute repaint rect for partial damage
https://bugs.webkit.org/show_bug.cgi?id=253050
Reviewed by Antti Koivisto.
When we stop destroying LineLayout eagerly at line layout path invalidation, std::optional<LayoutRect> should be turned into LayoutRect and use it as the source of truth for repaints.
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::layout):
(WebCore::LayoutIntegration::LineLayout::constructContent):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutModernLines):
Canonical link: https://commits.webkit.org/261010@main
More information about the webkit-changes
mailing list