[webkit-changes] [WebKit/WebKit] 659a99: [IFC][Cleanup] Fix layoutState() const correctness

Alan Baradlay noreply at github.com
Sun Oct 1 16:42:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 659a9961856a90f61979cdaa71dccba6043dcb66
      https://github.com/WebKit/WebKit/commit/659a9961856a90f61979cdaa71dccba6043dcb66
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-10-01 (Sun, 01 Oct 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/FormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/FormattingContext.h
    M Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp
    M Source/WebCore/layout/formattingContexts/flex/FlexLayout.h
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.h

  Log Message:
  -----------
  [IFC][Cleanup] Fix layoutState() const correctness
https://bugs.webkit.org/show_bug.cgi?id=262432

Reviewed by Antti Koivisto.

* Source/WebCore/layout/formattingContexts/FormattingContext.cpp:
(WebCore::Layout::FormattingContext::layoutState):
(WebCore::Layout::FormattingContext::layoutState const): Deleted.
* Source/WebCore/layout/formattingContexts/FormattingContext.h:
(WebCore::Layout::FormattingContext::layoutState const):
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.cpp:
(WebCore::Layout::FlexLayout::FlexLayout):
(WebCore::Layout::FlexLayout::maxContentForFlexItem):
(WebCore::Layout::FlexLayout::flexBaseAndHypotheticalMainSizeForFlexItems):
(WebCore::Layout::FlexLayout::hypotheticalCrossSizeForFlexItems):
(WebCore::Layout::FlexLayout::flexContainer const):
(WebCore::Layout::FlexLayout::flexFormattingContext):
(WebCore::Layout::FlexLayout::maxContentForFlexItem const): Deleted.
(WebCore::Layout::FlexLayout::flexBaseAndHypotheticalMainSizeForFlexItems const): Deleted.
(WebCore::Layout::FlexLayout::hypotheticalCrossSizeForFlexItems const): Deleted.
(WebCore::Layout::FlexLayout::flexFormattingContext const): Deleted.
* Source/WebCore/layout/formattingContexts/flex/FlexLayout.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h:
(WebCore::Layout::LineBoxBuilder::layoutState const):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp:
(WebCore::Layout::InlineDisplayLineBuilder::InlineDisplayLineBuilder):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.h:
(WebCore::Layout::InlineDisplayLineBuilder::formattingContext):
(WebCore::Layout::InlineDisplayLineBuilder::layoutState const):

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




More information about the webkit-changes mailing list