mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
LibJS: Make Cell::initialize() return void
Stop worrying about tiny OOMs. Work towards #20405
This commit is contained in:
@@ -57,11 +57,9 @@ bool HTMLSummaryElement::is_summary_for_its_parent_details()
|
||||
|
||||
HTMLSummaryElement::~HTMLSummaryElement() = default;
|
||||
|
||||
JS::ThrowCompletionOr<void> HTMLSummaryElement::initialize(JS::Realm& realm)
|
||||
void HTMLSummaryElement::initialize(JS::Realm& realm)
|
||||
{
|
||||
MUST_OR_THROW_OOM(Base::initialize(realm));
|
||||
|
||||
return {};
|
||||
Base::initialize(realm);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user