forked from mirrors/gecko-dev
		
	 195cdbea61
			
		
	
	
		195cdbea61
		
	
	
	
	
		
			
			Source-Repo: https://github.com/servo/servo Source-Revision: 8c0f31e9fdf924e486ca7d0c8f14c4a027f0a5b3
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			531 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			531 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| /* This Source Code Form is subject to the terms of the Mozilla Public
 | |
|  * License, v. 2.0. If a copy of the MPL was not distributed with this
 | |
|  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| // https://www.khronos.org/registry/webgl/specs/latest/1.0/webgl.idl
 | |
| use dom::bindings::reflector::Reflector;
 | |
| 
 | |
| #[dom_struct]
 | |
| pub struct WebGLObject {
 | |
|     reflector_: Reflector,
 | |
| }
 | |
| 
 | |
| impl WebGLObject {
 | |
|     pub fn new_inherited() -> WebGLObject {
 | |
|         WebGLObject {
 | |
|             reflector_: Reflector::new(),
 | |
|         }
 | |
|     }
 | |
| }
 |