From d9895ec12dbf51066fdc873920803121d7499844 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 29 Sep 2021 18:08:06 +0100 Subject: LibJS: Convert internal_has_property() to ThrowCompletionOr --- .../Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp') diff --git a/Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp b/Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp index d00c808204..9707b93587 100644 --- a/Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp +++ b/Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp @@ -4,12 +4,13 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include #include #include namespace Web::Bindings { -bool CSSStyleDeclarationWrapper::internal_has_property(JS::PropertyName const& name) const +JS::ThrowCompletionOr CSSStyleDeclarationWrapper::internal_has_property(JS::PropertyName const& name) const { if (!name.is_string()) return Base::internal_has_property(name); -- cgit v1.2.3