mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Update LegendBox and FieldSetBox to use GC namespace
Fixes broken build.
This commit is contained in:
parent
a820308a02
commit
c47d19d05a
Notes:
github-actions[bot]
2024-11-19 13:52:36 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: c47d19d05a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2439
8 changed files with 11 additions and 10 deletions
|
@ -83,7 +83,7 @@ Layout::FieldSetBox* HTMLFieldSetElement::layout_node()
|
|||
return static_cast<Layout::FieldSetBox*>(Node::layout_node());
|
||||
}
|
||||
|
||||
JS::GCPtr<Layout::Node> HTMLFieldSetElement::create_layout_node(CSS::StyleProperties style)
|
||||
GC::Ptr<Layout::Node> HTMLFieldSetElement::create_layout_node(CSS::StyleProperties style)
|
||||
{
|
||||
return heap().allocate<Layout::FieldSetBox>(document(), *this, style);
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
|
||||
virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::group; }
|
||||
|
||||
virtual JS::GCPtr<Layout::Node> create_layout_node(CSS::StyleProperties) override;
|
||||
virtual GC::Ptr<Layout::Node> create_layout_node(CSS::StyleProperties) override;
|
||||
Layout::FieldSetBox* layout_node();
|
||||
Layout::FieldSetBox const* layout_node() const;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ HTMLFormElement* HTMLLegendElement::form()
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
JS::GCPtr<Layout::Node> HTMLLegendElement::create_layout_node(CSS::StyleProperties style)
|
||||
GC::Ptr<Layout::Node> HTMLLegendElement::create_layout_node(CSS::StyleProperties style)
|
||||
{
|
||||
return heap().allocate<Layout::LegendBox>(document(), *this, move(style));
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
|
||||
HTMLFormElement* form();
|
||||
|
||||
virtual JS::GCPtr<Layout::Node> create_layout_node(CSS::StyleProperties) override;
|
||||
virtual GC::Ptr<Layout::Node> create_layout_node(CSS::StyleProperties) override;
|
||||
Layout::LegendBox* layout_node();
|
||||
Layout::LegendBox const* layout_node() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue