summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/ConsoleGlobalObject.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-09-28 23:54:42 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-29 23:49:53 +0100
commit8c81c84c1815d11e3ddbb1ca54a35b1e80cd617d (patch)
tree82af0c7aecedd6a76000105e8ca2aa85540b01ad /Userland/Services/WebContent/ConsoleGlobalObject.cpp
parent5148150e1ccdce78c84d848dd873bc31b247c781 (diff)
downloadserenity-8c81c84c1815d11e3ddbb1ca54a35b1e80cd617d.zip
LibJS: Convert internal_set_prototype_of() to ThrowCompletionOr
Diffstat (limited to 'Userland/Services/WebContent/ConsoleGlobalObject.cpp')
-rw-r--r--Userland/Services/WebContent/ConsoleGlobalObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.cpp b/Userland/Services/WebContent/ConsoleGlobalObject.cpp
index db79202572..2b5a61b6c5 100644
--- a/Userland/Services/WebContent/ConsoleGlobalObject.cpp
+++ b/Userland/Services/WebContent/ConsoleGlobalObject.cpp
@@ -42,7 +42,7 @@ JS::ThrowCompletionOr<JS::Object*> ConsoleGlobalObject::internal_get_prototype_o
return m_window_object->internal_get_prototype_of();
}
-bool ConsoleGlobalObject::internal_set_prototype_of(JS::Object* prototype)
+JS::ThrowCompletionOr<bool> ConsoleGlobalObject::internal_set_prototype_of(JS::Object* prototype)
{
return m_window_object->internal_set_prototype_of(prototype);
}