summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-09-29 18:08:06 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-29 23:49:53 +0100
commitd9895ec12dbf51066fdc873920803121d7499844 (patch)
tree4cec9df7c3725ff458990e2f9f5d04b9432af469 /Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp
parent5da210125e1ae62278ddf708ad85b037f1891a81 (diff)
downloadserenity-d9895ec12dbf51066fdc873920803121d7499844.zip
LibJS: Convert internal_has_property() to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/CSSStyleDeclarationWrapperCustom.cpp3
1 files changed, 2 insertions, 1 deletions
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 <LibJS/Runtime/Completion.h>
#include <LibWeb/Bindings/CSSStyleDeclarationWrapper.h>
#include <LibWeb/DOM/Element.h>
namespace Web::Bindings {
-bool CSSStyleDeclarationWrapper::internal_has_property(JS::PropertyName const& name) const
+JS::ThrowCompletionOr<bool> CSSStyleDeclarationWrapper::internal_has_property(JS::PropertyName const& name) const
{
if (!name.is_string())
return Base::internal_has_property(name);