[webkit-changes] [WebKit/WebKit] fc2cbd: [IFC] Remove inlineLayoutState::SetClearGapBeforeF...
Alan Baradlay
noreply at github.com
Mon Jun 12 07:01:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc2cbdef688b134951ca32f386632379ea8cf49f
https://github.com/WebKit/WebKit/commit/fc2cbdef688b134951ca32f386632379ea8cf49f
Author: Alan Baradlay <zalan at apple.com>
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 at 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
More information about the webkit-changes
mailing list