mirror of
https://github.com/SerenityOS/serenity
synced 2026-04-30 19:37:21 +02:00
LibWeb: Make factory method of CSS::ResolvedCSSStyleDeclaration fallible
This commit is contained in:
committed by
Linus Groh
parent
f28b8431bf
commit
8fbd43cb27
@@ -14,7 +14,7 @@ class ResolvedCSSStyleDeclaration final : public CSSStyleDeclaration {
|
||||
WEB_PLATFORM_OBJECT(ResolvedCSSStyleDeclaration, CSSStyleDeclaration);
|
||||
|
||||
public:
|
||||
static ResolvedCSSStyleDeclaration* create(DOM::Element& element);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ResolvedCSSStyleDeclaration>> create(DOM::Element& element);
|
||||
|
||||
virtual ~ResolvedCSSStyleDeclaration() override = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user