[webkit-changes] [WebKit/WebKit] c3a090: [IFC] Move canUseModernPathForPreferredWidthComput...

Alan Baradlay noreply at github.com
Sat May 20 06:00:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c3a0908f24e8fcfe6ad90734cc53fd1142e67f29
      https://github.com/WebKit/WebKit/commit/c3a0908f24e8fcfe6ad90734cc53fd1142e67f29
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-05-20 (Sat, 20 May 2023)

  Changed paths:
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.h
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  [IFC] Move canUseModernPathForPreferredWidthComputation to LayoutIntegrationCoverage
https://bugs.webkit.org/show_bug.cgi?id=257050

Reviewed by Antti Koivisto.

All canUse* logic should live in LayoutIntegrationCoverage.

* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForPreferredWidthComputation):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::canUseForPreferredWidthComputation):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingModernPath):

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




More information about the webkit-changes mailing list