LibJS: Rename GlobalObject::initialize() => initialize_global_object()

This function was shadowing Object::initialize() which cannot be called
on global objects and has a different set of parameters.
This commit is contained in:
Andreas Kling
2021-03-17 16:52:26 +01:00
parent ea81dc13cf
commit d792200a55
11 changed files with 30 additions and 29 deletions

View File

@@ -82,7 +82,7 @@ GlobalObject::GlobalObject()
{
}
void GlobalObject::initialize()
void GlobalObject::initialize_global_object()
{
auto& vm = this->vm();