mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibWeb: Make CSSStyleDeclaration GC-allocated
This commit is contained in:
parent
12042f0757
commit
72bacba97b
18 changed files with 146 additions and 129 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue