[webkit-changes] [WebKit/WebKit] 2a3caa: [IFC][Cleanup] Rename DamagedLine to InvalidatedLine

Alan Baradlay noreply at github.com
Sun Mar 3 13:19:49 PST 2024


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

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp
    M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.h

  Log Message:
  -----------
  [IFC][Cleanup] Rename DamagedLine to InvalidatedLine
https://bugs.webkit.org/show_bug.cgi?id=270392

Reviewed by Antti Koivisto.

This is in preparation for fixing webkit.org/b/270388 where the invalidated line may not be the same as the damaged line.
(e.g. we have to start invalidation at the line _above_ the damaged line)

* Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::leadingInlineItemPositionOnLastLine):
(WebCore::Layout::invalidatedLineByDamagedBox):
(WebCore::Layout::trailingDisplayBoxesForInvalidatedLines):
(WebCore::Layout::InlineInvalidation::updateInlineDamage):
(WebCore::Layout::InlineInvalidation::textInserted):
(WebCore::Layout::InlineInvalidation::textWillBeRemoved):
(WebCore::Layout::InlineInvalidation::inlineLevelBoxInserted):
(WebCore::Layout::InlineInvalidation::inlineLevelBoxWillBeRemoved):
(WebCore::Layout::damagedLineByDamagedBox): Deleted.
(WebCore::Layout::trailingDisplayBoxesForDamagedLines): Deleted.
* Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.h:

Canonical link: https://commits.webkit.org/275609@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