diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/FunctionObject.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/FunctionObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/FunctionObject.cpp b/Userland/Libraries/LibJS/Runtime/FunctionObject.cpp index 1552634b76..03a4f6527f 100644 --- a/Userland/Libraries/LibJS/Runtime/FunctionObject.cpp +++ b/Userland/Libraries/LibJS/Runtime/FunctionObject.cpp @@ -19,7 +19,7 @@ FunctionObject::FunctionObject(Realm& realm, Object* prototype) } FunctionObject::FunctionObject(Object& prototype) - : Object(prototype) + : Object(ConstructWithPrototypeTag::Tag, prototype) { } |