mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
LibJS: Make Cell::initialize() return void
Stop worrying about tiny OOMs. Work towards #20405
This commit is contained in:
@@ -107,12 +107,10 @@ DOMMatrixReadOnly::DOMMatrixReadOnly(JS::Realm& realm, DOMMatrixReadOnly const&
|
||||
|
||||
DOMMatrixReadOnly::~DOMMatrixReadOnly() = default;
|
||||
|
||||
JS::ThrowCompletionOr<void> DOMMatrixReadOnly::initialize(JS::Realm& realm)
|
||||
void DOMMatrixReadOnly::initialize(JS::Realm& realm)
|
||||
{
|
||||
MUST_OR_THROW_OOM(Base::initialize(realm));
|
||||
Base::initialize(realm);
|
||||
set_prototype(&Bindings::ensure_web_prototype<Bindings::DOMMatrixReadOnlyPrototype>(realm, "DOMMatrixReadOnly"));
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
// https://drafts.fxtf.org/geometry/#create-a-2d-matrix
|
||||
|
||||
Reference in New Issue
Block a user