mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:42:43 +00:00 
			
		
		
		
	LibJS: Port create_iterator_result_object() to NonnullGCPtr
This commit is contained in:
		
							parent
							
								
									aff1ec6014
								
							
						
					
					
						commit
						d4eaaf905c
					
				
					 4 changed files with 5 additions and 5 deletions
				
			
		|  | @ -73,7 +73,7 @@ JS::Object* FormDataIterator::next() | |||
|     if (m_iterator_kind == JS::Object::PropertyKind::Value) | ||||
|         return create_iterator_result_object(vm, entry_value, false); | ||||
| 
 | ||||
|     return create_iterator_result_object(vm, JS::Array::create_from(realm(), { JS::PrimitiveString::create(vm, entry.name), entry_value }), false); | ||||
|     return create_iterator_result_object(vm, JS::Array::create_from(realm(), { JS::PrimitiveString::create(vm, entry.name), entry_value }), false).ptr(); | ||||
| } | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh