Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fc2cbdef688b134951ca32f386632379ea8cf49f
      
https://github.com/WebKit/WebKit/commit/fc2cbdef688b134951ca32f386632379ea8cf49f
  Author: Alan Baradlay <[email protected]>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

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

  Log Message:
  -----------
  [IFC] Remove inlineLayoutState::SetClearGapBeforeFirstLine from LineBuilder
https://bugs.webkit.org/show_bug.cgi?id=257929

Reviewed by Antti Koivisto.

This is in preparation for being able to pass in const InlineLayoutState& to 
LineBuilder.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::lineLayout):
* Source/WebCore/layout/formattingContexts/inline/InlineLayoutState.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
(WebCore::Layout::LineBuilder::adjustLineRectForInitialLetterIfApplicable): No 
need to call clear ever since 263529@main "[IFC] Move non-persistent data from 
InlineFormattingState to InlineLayoutState" as this bit is not persistent 
anymore.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
(WebCore::Layout::LineBuilder::blockLayoutState const):
(WebCore::Layout::LineBuilder::inlineLayoutState const): Deleted.

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


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

Reply via email to