[webkit-changes] [WebKit/WebKit] f3d665: [Cleanup] Refactor cacheBaselineAlignedGridItems t...

Sammy Gill noreply at github.com
Thu Jan 30 11:22:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f3d665ffe1ce09a5d22b1da98839750740e3c040
      https://github.com/WebKit/WebKit/commit/f3d665ffe1ce09a5d22b1da98839750740e3c040
  Author: Sammy Gill <sammy.gill at apple.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

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

  Log Message:
  -----------
  [Cleanup] Refactor cacheBaselineAlignedGridItems to use an OptionSet.
https://bugs.webkit.org/show_bug.cgi?id=286719
rdar://143855525

Reviewed by Alan Baradlay.

This function currently uses a uint32_t to keep track of some state via
bit flags. To improve the readability of the code, let's change this to
use an OptionSet instead.

* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::cacheBaselineAlignedGridItems):
(WebCore::RenderGrid::computeIntrinsicLogicalWidths const):

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