1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00

LibWeb: JS wrappers need to call base class initialize()

This commit is contained in:
Andreas Kling 2020-06-20 17:44:54 +02:00
parent e1f9da142e
commit 8194dfb9f4
8 changed files with 17 additions and 9 deletions

View file

@ -46,8 +46,9 @@ ImageDataWrapper::ImageDataWrapper(JS::GlobalObject& global_object, ImageData& i
{
}
void ImageDataWrapper::initialize(JS::Interpreter&, JS::GlobalObject&)
void ImageDataWrapper::initialize(JS::Interpreter& interpreter, JS::GlobalObject& global_object)
{
Wrapper::initialize(interpreter, global_object);
define_native_property("width", width_getter, nullptr);
define_native_property("height", height_getter, nullptr);
define_native_property("data", data_getter, nullptr);