[webkit-changes] [WebKit/WebKit] 8f8c86: Element::rendererIsEverNeeded() only has a default...

Tyler Wilcock noreply at github.com
Sat Mar 9 09:28:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f8c86d4cb27f37d847f9e584c4cde775ce26bae
      https://github.com/WebKit/WebKit/commit/8f8c86d4cb27f37d847f9e584c4cde775ce26bae
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2024-03-09 (Sat, 09 Mar 2024)

  Changed paths:
    M Source/WebCore/dom/Element.cpp
    M Source/WebCore/dom/Element.h
    M Source/WebCore/html/HTMLElement.cpp
    M Source/WebCore/html/HTMLElement.h
    M Source/WebCore/style/StyleTreeResolver.cpp

  Log Message:
  -----------
  Element::rendererIsEverNeeded() only has a default, hardcoded true implementation
https://bugs.webkit.org/show_bug.cgi?id=270726
rdar://124307290

Reviewed by Aditya Keerthi.

After https://commits.webkit.org/274917@main, only the default implementation
of Element::rendererIsEverNeeded() is left, making the function useless. This
patch removes it.

* Source/WebCore/dom/Element.cpp:
(WebCore::Element::rendererIsNeeded):
* Source/WebCore/dom/Element.h:
(WebCore::Element::rendererIsEverNeeded): Deleted.
* Source/WebCore/html/HTMLElement.cpp:
(WebCore::HTMLElement::rendererIsEverNeeded): Deleted.
* Source/WebCore/html/HTMLElement.h:
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveElement):

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