diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp index 146a0197b8..5c469839c3 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLTableSectionElement.cpp @@ -21,10 +21,12 @@ HTMLTableSectionElement::HTMLTableSectionElement(DOM::Document& document, DOM::Q HTMLTableSectionElement::~HTMLTableSectionElement() = default; -void HTMLTableSectionElement::initialize(JS::Realm& realm) +JS::ThrowCompletionOr<void> HTMLTableSectionElement::initialize(JS::Realm& realm) { - Base::initialize(realm); + MUST_OR_THROW_OOM(Base::initialize(realm)); set_prototype(&Bindings::ensure_web_prototype<Bindings::HTMLTableSectionElementPrototype>(realm, "HTMLTableSectionElement")); + + return {}; } void HTMLTableSectionElement::visit_edges(Cell::Visitor& visitor) |