Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53d02d6d6e07ddcd52cccc5b2fb34033db7f68a2
      
https://github.com/WebKit/WebKit/commit/53d02d6d6e07ddcd52cccc5b2fb34033db7f68a2
  Author: Sammy Gill <[email protected]>
  Date:   2026-08-26 (Wed, 26 Aug 2026)

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

  Log Message:
  -----------
  [Grid Lanes][Cleanup] Grid axis track count member variable is redundant.
https://bugs.webkit.org/show_bug.cgi?id=322621
rdar://problem/185923771

Reviewed by Brent Fulgham.

We currently have a member variable to keep track of the number of
tracks in the grid axis as well as a list of the running positions in
the grid. However, there is exactly one running position per track in
the grid axis so the former is redundant since it is captured in the
size of the Vector for the running positions. So we can just drop the
member variable dedicated for the the grid axis tracks count and derive
it from the size of the Vector.

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



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

Reply via email to