diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h b/Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h index ff1ccaa11e..57810ad481 100644 --- a/Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h +++ b/Userland/Libraries/LibJS/Runtime/WeakMapConstructor.h @@ -18,7 +18,7 @@ public: virtual ~WeakMapConstructor() override = default; virtual ThrowCompletionOr<Value> call() override; - virtual ThrowCompletionOr<Object*> construct(FunctionObject&) override; + virtual ThrowCompletionOr<NonnullGCPtr<Object>> construct(FunctionObject&) override; private: explicit WeakMapConstructor(Realm&); |