Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6cf763fa323ef54be1ad4d262a867e8c7299efb7
      
https://github.com/WebKit/WebKit/commit/6cf763fa323ef54be1ad4d262a867e8c7299efb7
  Author: Andrew Fryer <[email protected]>
  Date:   2026-03-28 (Sat, 28 Mar 2026)

  Changed paths:
    M 
Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp

  Log Message:
  -----------
  Don't reserve capacity on InlineDisplay::Content::boxes
https://bugs.webkit.org/show_bug.cgi?id=310993
rdar://173597178

Reviewed by Alan Baradlay.

This estimate was way to big on normal content and doesn't seem to be helping 
performance.
Simply don't reserve capacity.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::lineLayout):
(WebCore::Layout::estimatedDisplayBoxSize): Deleted.

Canonical link: https://commits.webkit.org/310168@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to