[webkit-changes] [WebKit/WebKit] c43616: [Grid] Do not heap allocate GridArea

Alan Baradlay noreply at github.com
Thu Aug 24 12:22:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c43616495a091f35e892246caaf6a2ae8f3cbbd8
      https://github.com/WebKit/WebKit/commit/c43616495a091f35e892246caaf6a2ae8f3cbbd8
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

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

  Log Message:
  -----------
  [Grid] Do not heap allocate GridArea
https://bugs.webkit.org/show_bug.cgi?id=260661

Reviewed by Antti Koivisto.

* Source/WebCore/rendering/Grid.cpp:
(WebCore::GridIterator::nextEmptyGridArea):
* Source/WebCore/rendering/Grid.h:
* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::RenderGrid::createEmptyGridAreaAtSpecifiedPositionsOutsideGrid const):
(WebCore::RenderGrid::placeSpecifiedMajorAxisItemsOnGrid):
(WebCore::RenderGrid::placeAutoMajorAxisItemOnGrid):
* Source/WebCore/rendering/RenderGrid.h:

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




More information about the webkit-changes mailing list