mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
LibWeb: Make CSSStyleDeclaration GC-allocated
This commit is contained in:
@@ -319,7 +319,7 @@ Page const* Window::page() const
|
||||
return associated_document().page();
|
||||
}
|
||||
|
||||
NonnullRefPtr<CSS::CSSStyleDeclaration> Window::get_computed_style(DOM::Element& element) const
|
||||
CSS::CSSStyleDeclaration* Window::get_computed_style(DOM::Element& element) const
|
||||
{
|
||||
return CSS::ResolvedCSSStyleDeclaration::create(element);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user