summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/PromiseConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/PromiseConstructor.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/PromiseConstructor.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/PromiseConstructor.h b/Userland/Libraries/LibJS/Runtime/PromiseConstructor.h
index 02230c2304..319b124cd0 100644
--- a/Userland/Libraries/LibJS/Runtime/PromiseConstructor.h
+++ b/Userland/Libraries/LibJS/Runtime/PromiseConstructor.h
@@ -24,14 +24,14 @@ public:
private:
virtual bool has_constructor() const override { return true; }
- JS_DECLARE_NATIVE_FUNCTION(all);
- JS_DECLARE_NATIVE_FUNCTION(all_settled);
- JS_DECLARE_NATIVE_FUNCTION(any);
- JS_DECLARE_NATIVE_FUNCTION(race);
- JS_DECLARE_NATIVE_FUNCTION(reject);
- JS_DECLARE_NATIVE_FUNCTION(resolve);
-
- JS_DECLARE_NATIVE_FUNCTION(symbol_species_getter);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(all);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(all_settled);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(any);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(race);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(reject);
+ JS_DECLARE_OLD_NATIVE_FUNCTION(resolve);
+
+ JS_DECLARE_OLD_NATIVE_FUNCTION(symbol_species_getter);
};
}