mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
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:
parent
63249ba96a
commit
733d124380
Notes:
github-actions[bot]
2025-03-14 00:28:41 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 733d124380
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3928
Reviewed-by: https://github.com/gmta ✅
2 changed files with 1 additions and 15 deletions
|
@ -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())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue