[webkit-changes] [WebKit/WebKit] 77cb22: [IFC][Cleanup] Move members from TextOnlySimpleLin...

Alan Baradlay noreply at github.com
Sun Nov 19 06:31:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 77cb22c49270e6238a1c5d208c08cb44d62c6091
      https://github.com/WebKit/WebKit/commit/77cb22c49270e6238a1c5d208c08cb44d62c6091
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-11-19 (Sun, 19 Nov 2023)

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

  Log Message:
  -----------
  [IFC][Cleanup] Move members from TextOnlySimpleLineBuilder/LineBuilder to parent class (AbstractLineBuilder)
https://bugs.webkit.org/show_bug.cgi?id=265091

Reviewed by Antti Koivisto.

* Source/WebCore/layout/formattingContexts/inline/AbstractLineBuilder.cpp:
(WebCore::Layout::AbstractLineBuilder::AbstractLineBuilder):
(WebCore::Layout::AbstractLineBuilder::reset):
(WebCore::Layout::AbstractLineBuilder::root const):
(WebCore::Layout::AbstractLineBuilder::rootStyle const):
(WebCore::Layout::AbstractLineBuilder::layoutState const):
(WebCore::Layout::AbstractLineBuilder::layoutState):
* Source/WebCore/layout/formattingContexts/inline/AbstractLineBuilder.h:
(WebCore::Layout::AbstractLineBuilder::isFirstFormattedLine const):
(WebCore::Layout::AbstractLineBuilder::formattingContext):
(WebCore::Layout::AbstractLineBuilder::formattingContext const):
(WebCore::Layout::AbstractLineBuilder::rootHorizontalConstraints const):
(WebCore::Layout::AbstractLineBuilder::blockLayoutState const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::LineBuilder):
(WebCore::Layout::LineBuilder::initialize):
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):
(WebCore::Layout::LineBuilder::root const): Deleted.
(WebCore::Layout::LineBuilder::rootStyle const): Deleted.
(WebCore::Layout::LineBuilder::layoutState const): Deleted.
(WebCore::Layout::LineBuilder::layoutState): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
(WebCore::Layout::LineBuilder::isLineConstrainedByFloat const):
(WebCore::Layout::LineBuilder::isFirstFormattedLine const): Deleted.
(WebCore::Layout::LineBuilder::formattingContext): Deleted.
(WebCore::Layout::LineBuilder::formattingContext const): Deleted.
(WebCore::Layout::LineBuilder::blockLayoutState const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
(WebCore::Layout::TextOnlySimpleLineBuilder::TextOnlySimpleLineBuilder):
(WebCore::Layout::TextOnlySimpleLineBuilder::initialize):
(WebCore::Layout::TextOnlySimpleLineBuilder::commitCandidateContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::handleOverflowingTextContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::revertToLastNonOverflowingItem):
(WebCore::Layout::TextOnlySimpleLineBuilder::root const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.h:
(WebCore::Layout::TextOnlySimpleLineBuilder::isFirstFormattedLine const): Deleted.
(WebCore::Layout::TextOnlySimpleLineBuilder::formattingContext const): Deleted.

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




More information about the webkit-changes mailing list