[webkit-changes] [WebKit/WebKit] e558e2: [IFC][Cleanup] InlineInvalidation::styleChanged sh...

Alan Baradlay noreply at github.com
Sun Mar 24 12:57:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e558e2adb12ae4825497891ea42a4a0836136ae6
      https://github.com/WebKit/WebKit/commit/e558e2adb12ae4825497891ea42a4a0836136ae6
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-03-24 (Sun, 24 Mar 2024)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineDamage.h
    M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h

  Log Message:
  -----------
  [IFC][Cleanup] InlineInvalidation::styleChanged should set InlineDamage::Reason::StyleChange
https://bugs.webkit.org/show_bug.cgi?id=271531

Reviewed by Antti Koivisto.

This also makes it easier to reason about clearing when running full (but incremental, after a style change) layout.

* Source/WebCore/layout/formattingContexts/inline/invalidation/InlineDamage.h:
* Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::InlineInvalidation::styleChanged):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterChangeFor):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::layout):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:
(WebCore::LayoutIntegration::LineLayout::damage const):
(WebCore::LayoutIntegration::LineLayout::damageReasons const): Deleted.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list