mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:12:44 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									ea81dc13cf
								
							
						
					
					
						commit
						d792200a55
					
				
					 11 changed files with 30 additions and 29 deletions
				
			
		|  | @ -56,9 +56,9 @@ WindowObject::WindowObject(DOM::Window& impl) | |||
|     impl.set_wrapper({}, *this); | ||||
| } | ||||
| 
 | ||||
| void WindowObject::initialize() | ||||
| void WindowObject::initialize_global_object() | ||||
| { | ||||
|     GlobalObject::initialize(); | ||||
|     Base::initialize_global_object(); | ||||
| 
 | ||||
|     set_prototype(&ensure_web_prototype<EventTargetPrototype>("EventTarget")); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling