[webkit-changes] [WebKit/WebKit] 52ad46: [IFC] Do not call RenderBlockFlow::invalidateLineL...

Alan Baradlay noreply at github.com
Wed Apr 24 10:59:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 52ad4683bb239a6d4d9ce43337b7049f075c0a79
      https://github.com/WebKit/WebKit/commit/52ad4683bb239a6d4d9ce43337b7049f075c0a79
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M Source/WebCore/rendering/RenderObject.cpp

  Log Message:
  -----------
  [IFC] Do not call RenderBlockFlow::invalidateLineLayoutPath on renderer insertion/removal when there's no line layout
https://bugs.webkit.org/show_bug.cgi?id=273104

Reviewed by Antti Koivisto.

At this point invalidateLineLayoutPath is not really about invalidating the codepath (more like destroying LineLayout) so no reason to call it unless we have modernLayout.

* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::invalidateLineLayoutAfterTreeMutationIfNeeded):

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