LibWeb: Delete root pointer in LayoutState

It's no longer needed after we moved intrinsic sizes cache into layout
nodes.
This commit is contained in:
Aliaksandr Kalenik 2025-03-13 23:46:59 +01:00 committed by Jelle Raaijmakers
commit 733d124380
Notes: github-actions[bot] 2025-03-14 00:28:41 +00:00
2 changed files with 1 additions and 15 deletions

View file

@ -9,7 +9,6 @@
#include <AK/Debug.h>
#include <LibWeb/DOM/ShadowRoot.h>
#include <LibWeb/Layout/AvailableSpace.h>
#include <LibWeb/Layout/BlockContainer.h>
#include <LibWeb/Layout/InlineNode.h>
#include <LibWeb/Layout/LayoutState.h>
#include <LibWeb/Layout/Viewport.h>
@ -21,7 +20,6 @@ namespace Web::Layout {
LayoutState::LayoutState(LayoutState const* parent)
: m_parent(parent)
, m_root(find_root())
{
}