mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:42:44 +00:00 
			
		
		
		
	 56b381aac0
			
		
	
	
		56b381aac0
		
	
	
	
	
		
			
			The big global refactor left some stragglers behind for atomicity. Clean up the rest, and remove a ton of includes of LibWeb/HTML/Window.h
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			499 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			499 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include "WebAssemblyModulePrototype.h"
 | |
| #include <LibWeb/Bindings/Intrinsics.h>
 | |
| #include <LibWeb/WebAssembly/WebAssemblyModuleObject.h>
 | |
| 
 | |
| namespace Web::Bindings {
 | |
| 
 | |
| WebAssemblyModuleObject::WebAssemblyModuleObject(JS::Realm& realm, size_t index)
 | |
|     : Object(Bindings::ensure_web_prototype<WebAssemblyModulePrototype>(realm, "WebAssemblyModulePrototype"))
 | |
|     , m_index(index)
 | |
| {
 | |
| }
 | |
| 
 | |
| }
 |