mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	 f87041bf3a
			
		
	
	
		f87041bf3a
		
	
	
	
	
		
			
			Resulting in a massive rename across almost everywhere! Alongside the namespace change, we now have the following names: * JS::NonnullGCPtr -> GC::Ref * JS::GCPtr -> GC::Ptr * JS::HeapFunction -> GC::Function * JS::CellImpl -> GC::Cell * JS::Handle -> GC::Root
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			377 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			377 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2024, Jelle Raaijmakers <jelle@ladybird.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include <LibWeb/Bindings/WebGLShaderPrototype.h>
 | |
| #include <LibWeb/WebGL/WebGLShader.h>
 | |
| 
 | |
| namespace Web::WebGL {
 | |
| 
 | |
| GC_DEFINE_ALLOCATOR(WebGLShader);
 | |
| 
 | |
| WebGLShader::WebGLShader(JS::Realm& realm)
 | |
|     : WebGLObject(realm)
 | |
| {
 | |
| }
 | |
| 
 | |
| WebGLShader::~WebGLShader() = default;
 | |
| 
 | |
| }
 |