mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:52:45 +00:00 
			
		
		
		
	LibWeb: Fix WebAssembly.Memory.prototype.buffer build
This commit is contained in:
		
							parent
							
								
									5b61b60bbd
								
							
						
					
					
						commit
						12b634a91e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -55,7 +55,7 @@ JS_DEFINE_NATIVE_FUNCTION(WebAssemblyMemoryPrototype::buffer_getter) | |||
|     if (!memory) | ||||
|         return JS::js_undefined(); | ||||
| 
 | ||||
|     auto array_buffer = TRY_OR_DISCARD(JS::ArrayBuffer::create(global_object, &memory->data())); | ||||
|     auto* array_buffer = JS::ArrayBuffer::create(global_object, &memory->data()); | ||||
|     array_buffer->set_detach_key(JS::js_string(vm, "WebAssembly.Memory")); | ||||
|     return array_buffer; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh