1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09:00

LibWeb: Make factory method of CSS::ResolvedCSSStyleDeclaration fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 20:39:13 +01:00 committed by Linus Groh
parent f28b8431bf
commit 8fbd43cb27
Notes: sideshowbarker 2024-07-17 05:02:42 +09:00
4 changed files with 5 additions and 5 deletions

View file

@ -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;