[webkit-changes] [WebKit/WebKit] 70ac68: Refactor Masonry Initialization Logic to Separate ...

Brandon Stewart noreply at github.com
Fri May 5 15:44:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70ac6881106acd3f50495761cb91bfcebceb5acf
      https://github.com/WebKit/WebKit/commit/70ac6881106acd3f50495761cb91bfcebceb5acf
  Author: Brandon Stewart <brandonstewart at apple.com>
  Date:   2023-05-05 (Fri, 05 May 2023)

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

  Log Message:
  -----------
  Refactor Masonry Initialization Logic to Separate Function
https://bugs.webkit.org/show_bug.cgi?id=256391

Reviewed by Brent Fulgham.

Moving some of the initilization logic to a separate function. This logic resets
all the global variables between masonry runs.

* Source/WebCore/rendering/GridMasonryLayout.cpp:
(WebCore::GridMasonryLayout::initializeMasonry):
(WebCore::GridMasonryLayout::performMasonryPlacement):
* Source/WebCore/rendering/GridMasonryLayout.h:

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




More information about the webkit-changes mailing list