summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthConstructor.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthConstructor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthConstructor.h b/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthConstructor.h
index 145484b904..58b64e807d 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthConstructor.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonthConstructor.h
@@ -24,8 +24,8 @@ public:
private:
virtual bool has_constructor() const override { return true; }
- JS_DECLARE_NATIVE_FUNCTION(from);
- JS_DECLARE_NATIVE_FUNCTION(compare);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(from);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(compare);
};
}