mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +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
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue