[webkit-changes] [WebKit/WebKit] 470080: LayoutIntegration::BoxTree::m_renderers wastes 16K...
Antti Koivisto
noreply at github.com
Mon Feb 6 09:00:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 470080c7ba5f3644f9a3ca229af56029ea70c10e
https://github.com/WebKit/WebKit/commit/470080c7ba5f3644f9a3ca229af56029ea70c10e
Author: Antti Koivisto <antti at apple.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp
Log Message:
-----------
LayoutIntegration::BoxTree::m_renderers wastes 16KB of vector capacity
https://bugs.webkit.org/show_bug.cgi?id=251726
rdar://105025598
Reviewed by Simon Fraser.
* Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp:
(WebCore::LayoutIntegration::BoxTree::buildTreeForInlineContent):
(WebCore::LayoutIntegration::BoxTree::buildTreeForFlexContent):
shrinkToFit() the vector
Canonical link: https://commits.webkit.org/259895@main
More information about the webkit-changes
mailing list