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:
parent
e1f9da142e
commit
8194dfb9f4
8 changed files with 17 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue