mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Make CSS::ComputedProperties GC-allocated
This commit is contained in:
committed by
Andreas Kling
parent
c1cad8fa0e
commit
74469a0c1f
Notes:
github-actions[bot]
2024-12-22 09:13:42 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/74469a0c1ff Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2995
@@ -34,7 +34,7 @@ void HTMLIFrameElement::initialize(JS::Realm& realm)
|
||||
WEB_SET_PROTOTYPE_FOR_INTERFACE(HTMLIFrameElement);
|
||||
}
|
||||
|
||||
GC::Ptr<Layout::Node> HTMLIFrameElement::create_layout_node(CSS::ComputedProperties style)
|
||||
GC::Ptr<Layout::Node> HTMLIFrameElement::create_layout_node(GC::Ref<CSS::ComputedProperties> style)
|
||||
{
|
||||
return heap().allocate<Layout::NavigableContainerViewport>(document(), *this, move(style));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user