Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8781aa8bc7dcf7ed19e61b41dcdcd0a4b62ce4a5
      
https://github.com/WebKit/WebKit/commit/8781aa8bc7dcf7ed19e61b41dcdcd0a4b62ce4a5
  Author: Sammy Gill <[email protected]>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp
    M Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.h

  Log Message:
  -----------
  [GFC][Cleanup] Avoid passing around const LayoutUnit&
https://bugs.webkit.org/show_bug.cgi?id=309364
rdar://171914329

Reviewed by Vitor Roriz.

Since a LayoutUnit is small (4 bytes), there really is no benefit to passing
it around as a reference. Instead we can just pass it in by value and it
should fit inside of registers. I decided to keep the constness, however,
since it provides an extra bit of context to the reader.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to