summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Promise.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Promise.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Promise.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Promise.h b/Userland/Libraries/LibJS/Runtime/Promise.h
index c3adf9e249..0f1c927c78 100644
--- a/Userland/Libraries/LibJS/Runtime/Promise.h
+++ b/Userland/Libraries/LibJS/Runtime/Promise.h
@@ -36,8 +36,8 @@ public:
Value result() const { return m_result; }
struct ResolvingFunctions {
- Function& resolve;
- Function& reject;
+ FunctionObject& resolve;
+ FunctionObject& reject;
};
ResolvingFunctions create_resolving_functions();