Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 470080c7ba5f3644f9a3ca229af56029ea70c10e
      
https://github.com/WebKit/WebKit/commit/470080c7ba5f3644f9a3ca229af56029ea70c10e
  Author: Antti Koivisto <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to