mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:02:44 +00:00 
			
		
		
		
	LibWeb: Use TypedArray as a forward-declaration where appropriate
This reduces the number of files needed to be recompiled when TypedArray changes from ~1000 to ~600. The remaining ~600 are almost all generated constructors and prototypes.
This commit is contained in:
		
							parent
							
								
									a0dc9584de
								
							
						
					
					
						commit
						6656f70387
					
				
					 4 changed files with 2 additions and 3 deletions
				
			
		|  | @ -13,8 +13,6 @@ | |||
| #include <AK/Vector.h> | ||||
| #include <LibIPC/Forward.h> | ||||
| #include <LibJS/Forward.h> | ||||
| #include <LibJS/Runtime/DataView.h> | ||||
| #include <LibJS/Runtime/TypedArray.h> | ||||
| #include <LibWeb/WebIDL/ExceptionOr.h> | ||||
| 
 | ||||
| // Structured serialize is an entirely different format from IPC because:
 | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
|  * SPDX-License-Identifier: BSD-2-Clause | ||||
|  */ | ||||
| 
 | ||||
| #include <LibJS/Runtime/TypedArray.h> | ||||
| #include <LibWeb/Bindings/Intrinsics.h> | ||||
| #include <LibWeb/Streams/AbstractOperations.h> | ||||
| #include <LibWeb/Streams/ReadableByteStreamController.h> | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
|  * SPDX-License-Identifier: BSD-2-Clause | ||||
|  */ | ||||
| 
 | ||||
| #include <LibJS/Runtime/TypedArray.h> | ||||
| #include <LibWeb/Bindings/Intrinsics.h> | ||||
| #include <LibWeb/Streams/ReadableByteStreamController.h> | ||||
| #include <LibWeb/Streams/ReadableStreamBYOBRequest.h> | ||||
|  |  | |||
|  | @ -7,7 +7,6 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <LibJS/Runtime/TypedArray.h> | ||||
| #include <LibWeb/Bindings/PlatformObject.h> | ||||
| #include <LibWeb/Forward.h> | ||||
| #include <LibWeb/Streams/ReadableByteStreamController.h> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn