[webkit-changes] [WebKit/WebKit] d2b97e: Use dynamicDowncast<T> more in layout code

Chris Dumez noreply at github.com
Wed Nov 29 06:33:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d2b97ed22beea84a8ace2f8ab25cc907a33fd63c
      https://github.com/WebKit/WebKit/commit/d2b97ed22beea84a8ace2f8ab25cc907a33fd63c
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M Source/WebCore/layout/Verification.cpp
    M Source/WebCore/layout/formattingContexts/FormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp
    M Source/WebCore/layout/formattingContexts/block/BlockFormattingContext.cpp

  Log Message:
  -----------
  Use dynamicDowncast<T> more in layout code
https://bugs.webkit.org/show_bug.cgi?id=265504

Reviewed by Alan Baradlay.

* Source/WebCore/layout/Verification.cpp:
(WebCore::Layout::collectInlineBoxes):
(WebCore::Layout::outputMismatchingBlockBoxInformationIfNeeded):
(WebCore::Layout::verifyAndOutputSubtree):
* Source/WebCore/layout/formattingContexts/FormattingContext.cpp:
(WebCore::Layout::FormattingContext::initialContainingBlock):
* Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp:
(WebCore::Layout::FormattingGeometry::computedWidthValue const):
(WebCore::Layout::FormattingGeometry::shrinkToFitWidth const):
(WebCore::Layout::FormattingGeometry::complicatedCases const):
* Source/WebCore/layout/formattingContexts/block/BlockFormattingContext.cpp:
(WebCore::Layout::BlockFormattingContext::layoutOutOfFlowContent):

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




More information about the webkit-changes mailing list