[webkit-changes] [WebKit/WebKit] ed0f5a: [Cleanup] Remove RenderListItem::layout

Alan Baradlay noreply at github.com
Sat Feb 22 19:49:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed0f5af4757894f976e19c3afa63d7542dee9817
      https://github.com/WebKit/WebKit/commit/ed0f5af4757894f976e19c3afa63d7542dee9817
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2025-02-22 (Sat, 22 Feb 2025)

  Changed paths:
    M Source/WebCore/rendering/RenderListItem.cpp
    M Source/WebCore/rendering/RenderListItem.h

  Log Message:
  -----------
  [Cleanup] Remove RenderListItem::layout
https://bugs.webkit.org/show_bug.cgi?id=288288

Reviewed by Antti Koivisto.

1. Remove layout function. All it does is call base class layout.
2. Do not check map unless style diff is layout (style diffing already checks the map).

* Source/WebCore/rendering/RenderListItem.cpp:
(WebCore::RenderListItem::styleDidChange):
(WebCore::RenderListItem::layout): Deleted.
* Source/WebCore/rendering/RenderListItem.h:

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