mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:28:11 +00:00
LibWeb: Make factory method of SVG::SVGAnimatedLength fallible
This commit is contained in:
parent
200d22c650
commit
63b69f3672
7 changed files with 35 additions and 24 deletions
|
@ -16,7 +16,7 @@ class SVGAnimatedLength final : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(SVGAnimatedLength, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<SVGAnimatedLength> create(JS::Realm&, JS::NonnullGCPtr<SVGLength> base_val, JS::NonnullGCPtr<SVGLength> anim_val);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<SVGAnimatedLength>> create(JS::Realm&, JS::NonnullGCPtr<SVGLength> base_val, JS::NonnullGCPtr<SVGLength> anim_val);
|
||||
virtual ~SVGAnimatedLength() override;
|
||||
|
||||
JS::NonnullGCPtr<SVGLength> base_val() const { return m_base_val; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue