mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
LibJS: Make Cell::initialize() return void
Stop worrying about tiny OOMs. Work towards #20405
This commit is contained in:
@@ -15,12 +15,10 @@ SVGTitleElement::SVGTitleElement(DOM::Document& document, DOM::QualifiedName qua
|
||||
{
|
||||
}
|
||||
|
||||
JS::ThrowCompletionOr<void> SVGTitleElement::initialize(JS::Realm& realm)
|
||||
void SVGTitleElement::initialize(JS::Realm& realm)
|
||||
{
|
||||
MUST_OR_THROW_OOM(Base::initialize(realm));
|
||||
Base::initialize(realm);
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::SVGTitleElementPrototype>(realm, "SVGTitleElement"));
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
JS::GCPtr<Layout::Node> SVGTitleElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties>)
|
||||
|
||||
Reference in New Issue
Block a user