summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Promise.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-27 21:48:34 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-27 22:36:04 +0200
commitba9d5c4d54d2e58c14eafe1e8960c3832fac46c7 (patch)
tree975cef60a364e12fb5600555548bdb1f8565874e /Userland/Libraries/LibJS/Runtime/Promise.h
parente389ae3c9754b0c6c40a383a666f103c42789630 (diff)
downloadserenity-ba9d5c4d54d2e58c14eafe1e8960c3832fac46c7.zip
LibJS: Rename Function => FunctionObject
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();