mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:55:08 +00:00
LibWeb: Make factory method of CSS::ResolvedCSSStyleDeclaration fallible
This commit is contained in:
parent
f28b8431bf
commit
8fbd43cb27
4 changed files with 5 additions and 5 deletions
|
@ -644,7 +644,7 @@ Page const* Window::page() const
|
|||
|
||||
CSS::CSSStyleDeclaration* Window::get_computed_style_impl(DOM::Element& element) const
|
||||
{
|
||||
return CSS::ResolvedCSSStyleDeclaration::create(element);
|
||||
return CSS::ResolvedCSSStyleDeclaration::create(element).release_value_but_fixme_should_propagate_errors().ptr();
|
||||
}
|
||||
|
||||
JS::NonnullGCPtr<CSS::MediaQueryList> Window::match_media_impl(DeprecatedString media)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue