diff options
author | Linus Groh <mail@linusgroh.de> | 2021-10-03 19:52:13 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-04 09:52:15 +0100 |
commit | 0a49a2db60212df1a92ad96170ef9497632ab6da (patch) | |
tree | e8a22146341f5177617d269811fd3966b60ead92 /Userland/Libraries/LibJS/Runtime/Object.h | |
parent | a7b1c7eb16ea531bd845905df0f3c841f3e6dd87 (diff) | |
download | serenity-0a49a2db60212df1a92ad96170ef9497632ab6da.zip |
LibJS: Convert set_immutable_prototype() to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Object.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Object.h b/Userland/Libraries/LibJS/Runtime/Object.h index ad1b142174..1fb370c8ae 100644 --- a/Userland/Libraries/LibJS/Runtime/Object.h +++ b/Userland/Libraries/LibJS/Runtime/Object.h @@ -108,7 +108,7 @@ public: // 10.4.7 Immutable Prototype Exotic Objects, https://tc39.es/ecma262/#sec-immutable-prototype-exotic-objects - bool set_immutable_prototype(Object* prototype); + ThrowCompletionOr<bool> set_immutable_prototype(Object* prototype); // 20.1 Object Objects, https://tc39.es/ecma262/#sec-object-objects |