[webkit-changes] [WebKit/WebKit] 3b2509: [Cleanup] Remove RenderBox::hasOverridingLogicalHe...

Alan Baradlay noreply at github.com
Thu May 9 12:53:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b2509010ca21553e0666e60338a1d6ed3cf73de
      https://github.com/WebKit/WebKit/commit/3b2509010ca21553e0666e60338a1d6ed3cf73de
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

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

  Log Message:
  -----------
  [Cleanup] Remove RenderBox::hasOverridingLogicalHeightLength
https://bugs.webkit.org/show_bug.cgi?id=273898

Reviewed by Simon Fraser.

This patch removes redundant hash lookups on override size (see webkit.org/b/273880 273885 273887).

* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::overridingLogicalHeightLength const):
(WebCore::RenderBox::computeLogicalHeight const):
(WebCore::RenderBox::hasOverridingLogicalHeightLength const): Deleted.
* Source/WebCore/rendering/RenderBox.h:

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