
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));
|
|
}
|
|
|
|
}
|