[webkit-changes] [WebKit/WebKit] 8e892c: [IFC][Float] FloatingState does not need to hold o...

Alan Baradlay noreply at github.com
Mon Jun 12 06:51:57 PDT 2023


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

  Changed paths:
    M Source/WebCore/layout/floats/FloatingContext.h
    M Source/WebCore/layout/floats/FloatingState.cpp
    M Source/WebCore/layout/floats/FloatingState.h
    M Source/WebCore/layout/formattingContexts/block/BlockFormattingState.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp

  Log Message:
  -----------
  [IFC][Float] FloatingState does not need to hold on to LayoutState
https://bugs.webkit.org/show_bug.cgi?id=257921

Reviewed by Antti Koivisto.

* Source/WebCore/layout/floats/FloatingContext.h:
(WebCore::Layout::FloatingContext::layoutState const): Deleted.
* Source/WebCore/layout/floats/FloatingState.cpp:
(WebCore::Layout::FloatingState::FloatingState):
* Source/WebCore/layout/floats/FloatingState.h:
(WebCore::Layout::FloatingState::layoutState const): Deleted.
* Source/WebCore/layout/formattingContexts/block/BlockFormattingState.cpp:
(WebCore::Layout::BlockFormattingState::BlockFormattingState):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::layoutInFlowContent):
(WebCore::Layout::InlineFormattingContext::computedIntrinsicWidthForConstraint const):

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




More information about the webkit-changes mailing list