Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9b178ba3eda0c15772a8185e709ebd479af757c9
https://github.com/WebKit/WebKit/commit/9b178ba3eda0c15772a8185e709ebd479af757c9
Author: Alan Baradlay <[email protected]>
Date: 2023-02-15 (Wed, 15 Feb 2023)
Changed paths:
M
Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingState.h
Log Message:
-----------
[IFC] LineBoxes do not need to outlive line layout.
https://bugs.webkit.org/show_bug.cgi?id=252280
Reviewed by Antti Koivisto.
They are input to InlineDisplayLineBuilder/InlineDisplayContentBuilder, but we
never reuse them in subsequent layouts.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::createDisplayContentForLine):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingState.h:
(WebCore::Layout::InlineFormattingState::clearLineAndBoxes):
(WebCore::Layout::InlineFormattingState::shrinkToFit):
(WebCore::Layout::InlineFormattingState::lineBoxes const): Deleted.
(WebCore::Layout::InlineFormattingState::addLineBox): Deleted.
Canonical link: https://commits.webkit.org/260309@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes