[webkit-changes] [WebKit/WebKit] f5afa6: Change lengths to reference in `RenderBlock.cpp`

Commit Queue noreply at github.com
Thu Jul 25 14:40:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5afa69194580322245eb641c8292a161096cf3a
      https://github.com/WebKit/WebKit/commit/f5afa69194580322245eb641c8292a161096cf3a
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2024-07-25 (Thu, 25 Jul 2024)

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

  Log Message:
  -----------
  Change lengths to reference in `RenderBlock.cpp`

https://bugs.webkit.org/show_bug.cgi?id=277080

Reviewed by Alan Baradlay.

This is just more of code health fixes to change Lengths to references
to avoid copying.

* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::isSelfCollapsingBlock const):
(WebCore::RenderBlock::marginIntrinsicLogicalWidthForChild const):
(WebCore::RenderBlock::computeBlockPreferredLogicalWidths const):
(WebCore::RenderBlock::computePreferredWidthsForExcludedChildren const):

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