[webkit-changes] [WebKit/WebKit] cf812e: [IFC] Do not consult InlineContentBreaker when can...

Alan Baradlay noreply at github.com
Fri Aug 18 12:09:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf812ea1c7328c915c308bb3176d02ccc25203b4
      https://github.com/WebKit/WebKit/commit/cf812ea1c7328c915c308bb3176d02ccc25203b4
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp

  Log Message:
  -----------
  [IFC] Do not consult InlineContentBreaker when candidate content fits
https://bugs.webkit.org/show_bug.cgi?id=260387

Reviewed by Antti Koivisto.

~6% progression on PerformanceTests/Layout/line-layout.html

* Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp:
(WebCore::Layout::InlineContentBreaker::processInlineContent):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::handleInlineContent):
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
(WebCore::Layout::TextOnlySimpleLineBuilder::handleInlineTextContent):

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




More information about the webkit-changes mailing list