diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/InstantConstructor.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/InstantConstructor.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/InstantConstructor.h b/Userland/Libraries/LibJS/Runtime/Temporal/InstantConstructor.h index 310e5c7c8e..cdce6d7d97 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/InstantConstructor.h +++ b/Userland/Libraries/LibJS/Runtime/Temporal/InstantConstructor.h @@ -24,12 +24,12 @@ public: private: virtual bool has_constructor() const override { return true; } - JS_DECLARE_NATIVE_FUNCTION(from); - JS_DECLARE_NATIVE_FUNCTION(from_epoch_seconds); - JS_DECLARE_NATIVE_FUNCTION(from_epoch_milliseconds); - JS_DECLARE_NATIVE_FUNCTION(from_epoch_microseconds); - JS_DECLARE_NATIVE_FUNCTION(from_epoch_nanoseconds); - JS_DECLARE_NATIVE_FUNCTION(compare); + JS_DECLARE_OLD_NATIVE_FUNCTION(from); + JS_DECLARE_OLD_NATIVE_FUNCTION(from_epoch_seconds); + JS_DECLARE_OLD_NATIVE_FUNCTION(from_epoch_milliseconds); + JS_DECLARE_OLD_NATIVE_FUNCTION(from_epoch_microseconds); + JS_DECLARE_OLD_NATIVE_FUNCTION(from_epoch_nanoseconds); + JS_DECLARE_OLD_NATIVE_FUNCTION(compare); }; } |