mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:32:44 +00:00 
			
		
		
		
	LibWeb: Apply suggested fixes.
This commit is contained in:
		
							parent
							
								
									1c7a834278
								
							
						
					
					
						commit
						2981f10a5e
					
				
					 5 changed files with 15 additions and 11 deletions
				
			
		|  | @ -90,8 +90,6 @@ void WindowObject::initialize() | |||
|     add_constructor("XMLHttpRequest", m_xhr_constructor, m_xhr_prototype); | ||||
| 
 | ||||
|     m_range_prototype = heap().allocate<RangePrototype>(*this, *this); | ||||
|     m_range_constructor = heap().allocate<RangeConstructor>(*this, *this); | ||||
|     m_range_constructor->define_property("prototype", m_range_prototype); | ||||
|     add_constructor("Range", m_range_constructor, m_range_prototype); | ||||
| } | ||||
| 
 | ||||
|  | @ -104,6 +102,8 @@ void WindowObject::visit_edges(Visitor& visitor) | |||
|     GlobalObject::visit_edges(visitor); | ||||
|     visitor.visit(m_xhr_constructor); | ||||
|     visitor.visit(m_xhr_prototype); | ||||
|     visitor.visit(m_range_constructor); | ||||
|     visitor.visit(m_range_prototype); | ||||
| } | ||||
| 
 | ||||
| Origin WindowObject::origin() const | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 asynts
						asynts