From ba9d5c4d54d2e58c14eafe1e8960c3832fac46c7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 27 Jun 2021 21:48:34 +0200 Subject: LibJS: Rename Function => FunctionObject --- Userland/Libraries/LibJS/Runtime/Promise.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Userland/Libraries/LibJS/Runtime/Promise.h') 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(); -- cgit v1.2.3