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