[webkit-changes] [WebKit/WebKit] f80fa9: [FFC][Integration] Do not construct flex specific ...

Alan Baradlay noreply at github.com
Sun Jul 2 12:14:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f80fa9a30bdd262fa68ff01ea0c8743a4bc7a4c7
      https://github.com/WebKit/WebKit/commit/f80fa9a30bdd262fa68ff01ea0c8743a4bc7a4c7
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-07-02 (Sun, 02 Jul 2023)

  Changed paths:
    M Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp
    M Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.h

  Log Message:
  -----------
  [FFC][Integration] Do not construct flex specific layout state
https://bugs.webkit.org/show_bug.cgi?id=258775

Reviewed by Antti Koivisto.

There's supposed to be only one layout state regardless of what integration codepath we end up with.

* Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp:
(WebCore::LayoutIntegration::FlexLayout::FlexLayout):
(WebCore::LayoutIntegration::FlexLayout::updateFormattingRootGeometryAndInvalidate):
(WebCore::LayoutIntegration::FlexLayout::updateFlexItemDimensions):
(WebCore::LayoutIntegration::FlexLayout::layout):
* Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.h:
(WebCore::LayoutIntegration::FlexLayout::layoutState):

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




More information about the webkit-changes mailing list