1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibWeb: Make factory method of HTML::Path2D fallible

This commit is contained in:
Kenneth Myhra 2023-02-15 19:24:06 +01:00 committed by Linus Groh
parent 2b391ea622
commit 86b7f148b9
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ class Path2D final
WEB_PLATFORM_OBJECT(Path2D, Bindings::PlatformObject);
public:
static JS::NonnullGCPtr<Path2D> construct_impl(JS::Realm&, Optional<Variant<JS::Handle<Path2D>, DeprecatedString>> const& path);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Path2D>> construct_impl(JS::Realm&, Optional<Variant<JS::Handle<Path2D>, DeprecatedString>> const& path);
virtual ~Path2D() override;