mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibJS: Object::initialize() overrides must always call base class
This commit is contained in:
@@ -40,8 +40,9 @@ ConsoleObject::ConsoleObject(GlobalObject& global_object)
|
||||
{
|
||||
}
|
||||
|
||||
void ConsoleObject::initialize(Interpreter&, GlobalObject&)
|
||||
void ConsoleObject::initialize(Interpreter& interpreter, GlobalObject& global_object)
|
||||
{
|
||||
Object::initialize(interpreter, global_object);
|
||||
define_native_function("log", log);
|
||||
define_native_function("debug", debug);
|
||||
define_native_function("info", info);
|
||||
|
||||
Reference in New Issue
Block a user