[webkit-changes] [WebKit/WebKit] 1f2279: [IFC] Move LineBuilder::close's line end handling ...

Alan Baradlay noreply at github.com
Mon Jun 5 11:18:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1f22795ca9a78104072b7ef4d399886f76f70615
      https://github.com/WebKit/WebKit/commit/1f22795ca9a78104072b7ef4d399886f76f70615
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
    M Source/WebCore/layout/formattingContexts/inline/InlineLineTypes.h

  Log Message:
  -----------
  [IFC] Move LineBuilder::close's line end handling functionality to placeInlineAndFloatContent
https://bugs.webkit.org/show_bug.cgi?id=257681

Reviewed by Antti Koivisto.

This is in preparation for transforming LineBuilder::computedIntrinsicWidth into regular line layout.
(They both call placeInlineAndFloatContent() followed by close().)

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
(WebCore::Layout::LineBuilder::computedIntrinsicWidth):
(WebCore::Layout::LineBuilder::placeInlineAndFloatContent):
(WebCore::Layout::LineBuilder::placeInlineContent): Deleted.
(WebCore::Layout::LineBuilder::close): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineTypes.h:

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




More information about the webkit-changes mailing list