diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-29 00:28:04 +0300 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-29 21:29:24 +0300 |
commit | d1d4ee699b2de4c4fe78b75ddc3a4fe3152b5b7f (patch) | |
tree | af55b12463a1502b8e28b71770cfe9f4abdf212c /Userland/Libraries/LibJS/Runtime/ConsoleObject.h | |
parent | e7a134a346a82f30f4445e03a8c97352b088ca41 (diff) | |
download | serenity-d1d4ee699b2de4c4fe78b75ddc3a4fe3152b5b7f.zip |
LibJS: Convert ConsoleObject functions to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ConsoleObject.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/ConsoleObject.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ConsoleObject.h b/Userland/Libraries/LibJS/Runtime/ConsoleObject.h index 71a34f2f3a..5f43c4eed9 100644 --- a/Userland/Libraries/LibJS/Runtime/ConsoleObject.h +++ b/Userland/Libraries/LibJS/Runtime/ConsoleObject.h @@ -19,16 +19,16 @@ public: virtual ~ConsoleObject() override; private: - JS_DECLARE_OLD_NATIVE_FUNCTION(log); - JS_DECLARE_OLD_NATIVE_FUNCTION(debug); - JS_DECLARE_OLD_NATIVE_FUNCTION(info); - JS_DECLARE_OLD_NATIVE_FUNCTION(warn); - JS_DECLARE_OLD_NATIVE_FUNCTION(error); - JS_DECLARE_OLD_NATIVE_FUNCTION(trace); - JS_DECLARE_OLD_NATIVE_FUNCTION(count); - JS_DECLARE_OLD_NATIVE_FUNCTION(count_reset); - JS_DECLARE_OLD_NATIVE_FUNCTION(clear); - JS_DECLARE_OLD_NATIVE_FUNCTION(assert_); + JS_DECLARE_NATIVE_FUNCTION(log); + JS_DECLARE_NATIVE_FUNCTION(debug); + JS_DECLARE_NATIVE_FUNCTION(info); + JS_DECLARE_NATIVE_FUNCTION(warn); + JS_DECLARE_NATIVE_FUNCTION(error); + JS_DECLARE_NATIVE_FUNCTION(trace); + JS_DECLARE_NATIVE_FUNCTION(count); + JS_DECLARE_NATIVE_FUNCTION(count_reset); + JS_DECLARE_NATIVE_FUNCTION(clear); + JS_DECLARE_NATIVE_FUNCTION(assert_); }; } |