mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
LibWeb: Make CSS::ComputedProperties GC-allocated
This commit is contained in:
committed by
Andreas Kling
parent
c1cad8fa0e
commit
74469a0c1f
@@ -16,7 +16,7 @@ namespace Web::Layout {
|
||||
|
||||
GC_DEFINE_ALLOCATOR(Viewport);
|
||||
|
||||
Viewport::Viewport(DOM::Document& document, CSS::ComputedProperties style)
|
||||
Viewport::Viewport(DOM::Document& document, GC::Ref<CSS::ComputedProperties> style)
|
||||
: BlockContainer(document, &document, move(style))
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user