ladybird/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyModuleObject.cpp
2021-07-02 04:53:01 +04:30

18 lines
499 B
C++

/*
* Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "WebAssemblyModulePrototype.h"
#include <LibWeb/WebAssembly/WebAssemblyModuleObject.h>
namespace Web::Bindings {
WebAssemblyModuleObject::WebAssemblyModuleObject(JS::GlobalObject& global_object, size_t index)
: Object(static_cast<WindowObject&>(global_object).ensure_web_prototype<WebAssemblyModulePrototype>("WebAssemblyModulePrototype"))
, m_index(index)
{
}
}