mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibJS: Object::initialize() overrides must always call base class
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 05:31:27 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2fe4285693d
@@ -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