Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: faed9492377495621bccf49d4120ed93cf683520
https://github.com/WebKit/WebKit/commit/faed9492377495621bccf49d4120ed93cf683520
Author: Antti Koivisto <[email protected]>
Date: 2024-11-20 (Wed, 20 Nov 2024)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp
M Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.h
R Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp
R Source/WebCore/layout/integration/LayoutIntegrationBoxTree.h
A Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp
A Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.h
M Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp
M Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.h
M
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp
M
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.h
M
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentPainter.cpp
M
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentPainter.h
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h
M Source/WebCore/layout/layouttree/LayoutBox.cpp
M Source/WebCore/layout/layouttree/LayoutBox.h
Log Message:
-----------
[LFC] Turn LayoutIntegration::BoxTree into BoxTreeUpdater
https://bugs.webkit.org/show_bug.cgi?id=283409
rdar://140266421
Reviewed by Alan Baradlay.
Make it transient type that is not tied to the lifetime of a LineLayout.
This will allow more flexibity in where the layout box tree building happens.
* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp:
(WebCore::LayoutIntegration::BoxGeometryUpdater::clear):
* Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.h:
* Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp: Removed.
* Source/WebCore/layout/integration/LayoutIntegrationBoxTree.h: Removed.
* Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp:
(WebCore::LayoutIntegration::FlexLayout::FlexLayout):
(WebCore::LayoutIntegration::FlexLayout::~FlexLayout):
* Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.h:
*
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp:
(WebCore::LayoutIntegration::InlineContentBuilder::InlineContentBuilder):
*
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.h:
*
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentPainter.cpp:
(WebCore::LayoutIntegration::InlineContentPainter::InlineContentPainter):
(WebCore::LayoutIntegration::InlineContentPainter::paint):
(WebCore::LayoutIntegration::LayerPaintScope::LayerPaintScope):
*
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentPainter.h:
(WebCore::LayoutIntegration::InlineContentPainter::root const):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::LineLayout):
(WebCore::LayoutIntegration::m_boxGeometryUpdater):
(WebCore::LayoutIntegration::LineLayout::~LineLayout):
(WebCore::LayoutIntegration::LineLayout::contains const):
(WebCore::LayoutIntegration::LineLayout::updateStyle):
(WebCore::LayoutIntegration::LineLayout::updateOverflow):
(WebCore::LayoutIntegration::LineLayout::constructContent):
(WebCore::LayoutIntegration::LineLayout::paint):
(WebCore::LayoutIntegration::LineLayout::hitTest):
(WebCore::LayoutIntegration::LineLayout::insertedIntoTree):
(WebCore::LayoutIntegration::LineLayout::removedFromTree):
(WebCore::LayoutIntegration::LineLayout::updateTextContent):
(WebCore::LayoutIntegration::LineLayout::rootLayoutBox const): Deleted.
(WebCore::LayoutIntegration::LineLayout::rootLayoutBox): Deleted.
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:
* Source/WebCore/layout/layouttree/LayoutBox.cpp:
(WebCore::Layout::Box::isInFormattingContextEstablishedBy const):
Move here from BoxTree.
* Source/WebCore/layout/layouttree/LayoutBox.h:
Canonical link: https://commits.webkit.org/286856@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes