[webkit-changes] [WebKit/WebKit] 46b052: Change lengths to reference in `RenderDeprecatedFl...

Commit Queue noreply at github.com
Thu Jul 25 06:06:00 PDT 2024


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

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

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

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

Reviewed by Alan Baradlay.

This is just more of code health fixes to change Lengths to references (to avoid copying)
and also use local variable to clean-up code as needed.

* Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::marginWidthForChild):
(WebCore::RenderDeprecatedFlexibleBox::allowedChildFlex):

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