/* * Copyright (c) 2023, Shannon Booth * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include namespace Web::DOM { JS::NonnullGCPtr RadioNodeList::create(JS::Realm& realm, Node& root, Scope scope, Function filter) { return realm.heap().allocate(realm, realm, root, scope, move(filter)); } RadioNodeList::RadioNodeList(JS::Realm& realm, Node& root, Scope scope, Function filter) : LiveNodeList(realm, root, scope, move(filter)) { } RadioNodeList::~RadioNodeList() = default; void RadioNodeList::initialize(JS::Realm& realm) { Base::initialize(realm); set_prototype(&Bindings::ensure_web_prototype(realm, "RadioNodeList")); } }