[webkit-changes] [WebKit/WebKit] 5a4bed: `RenderBox::requiresLayer()` should share code wit...

Antoine Quint noreply at github.com
Wed Feb 7 22:32:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5a4bed0757cb568219e492c6ee45dd80e24fefe7
      https://github.com/WebKit/WebKit/commit/5a4bed0757cb568219e492c6ee45dd80e24fefe7
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

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

  Log Message:
  -----------
  `RenderBox::requiresLayer()` should share code with superclass
https://bugs.webkit.org/show_bug.cgi?id=268937
rdar://122490562

Reviewed by Simon Fraser.

The `RenderBox::requiresLayer()` method duplicates code found in its superclass.
We now call `RenderBoxModelObject::requiresLayer()` instead.

* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::requiresLayer const):

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




More information about the webkit-changes mailing list