summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/PromiseResolvingFunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/PromiseResolvingFunction.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/PromiseResolvingFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/PromiseResolvingFunction.h b/Userland/Libraries/LibJS/Runtime/PromiseResolvingFunction.h
index ceb11e7315..b200b0b068 100644
--- a/Userland/Libraries/LibJS/Runtime/PromiseResolvingFunction.h
+++ b/Userland/Libraries/LibJS/Runtime/PromiseResolvingFunction.h
@@ -33,7 +33,7 @@ public:
virtual void initialize(GlobalObject&) override;
virtual ~PromiseResolvingFunction() override = default;
- virtual Value call() override;
+ virtual ThrowCompletionOr<Value> call() override;
private:
virtual void visit_edges(Visitor&) override;