mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 04:02:44 +00:00 
			
		
		
		
	 d16600a48b
			
		
	
	
		d16600a48b
		
	
	
	
	
		
			
			Turns out we create a lot of these, mostly from places that don't return ErrorOr. The yak stack grows.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			364 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			364 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2023, Emil Militzer <emil.militzer@posteo.de>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include "DisplayStyleValue.h"
 | |
| 
 | |
| namespace Web::CSS {
 | |
| 
 | |
| ErrorOr<ValueComparingNonnullRefPtr<DisplayStyleValue>> DisplayStyleValue::create(Display const& display)
 | |
| {
 | |
|     return adopt_nonnull_ref_or_enomem(new (nothrow) DisplayStyleValue(display));
 | |
| }
 | |
| 
 | |
| }
 |